<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="e9726f65-466a-4533-a932-8146da16cd54" />
  <meta>
    <lastUpdated value="2019-03-16T23:53:51.7046197+00:00" />
  </meta>
  <url value="http://ehealthbc.ca/API/FHIR/StructureDefinition/ca-bc-QuestionnaireResponse" />
  <name value="ca-bc-CD-profile-QuestionnaireResponse" />
  <status value="draft" />
  <date value="2019-03-16T23:53:48.7688563+00:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="QuestionnaireResponse" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
  <derivation value="constraint" />
  <snapshot>
    <element id="QuestionnaireResponse">
      <path value="QuestionnaireResponse" />
      <short value="A structured set of questions and their answers" />
      <definition value="A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to." />
      <comment value="The QuestionnaireResponse contains enough information about the questions asked and their organization that it can be interpreted somewhat independently from the Questionnaire it is based on.  I.e. You don't need access to the Questionnaire in order to extract basic information from a QuestionnaireResponse." />
      <alias value="Form" />
      <alias value="QuestionnaireAnswers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Resource" />
        <min value="0" />
        <max value="*" />
      </base>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-1" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative" />
        <expression value="contained.text.empty()" />
        <xpath value="not(parent::f:contained and f:text)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" />
        <expression value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation[moodCode=EVN]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="infrastructure.information" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.id">
      <path value="QuestionnaireResponse.id" />
      <short value="GUID" />
      <definition value="Unique GUID to identify each individual QuestionnaireResponse message" />
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Resource.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.meta">
      <path value="QuestionnaireResponse.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Resource.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.implicitRules">
      <path value="QuestionnaireResponse.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." />
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. &#xA;&#xA;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Resource.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.language">
      <path value="QuestionnaireResponse.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Resource.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages" />
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language" />
        </extension>
        <strength value="extensible" />
        <description value="A human language." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.text">
      <path value="QuestionnaireResponse.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition 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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later." />
      <alias value="narrative" />
      <alias value="html" />
      <alias value="xhtml" />
      <alias value="display" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="DomainResource.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
      </type>
      <condition value="ele-1" />
      <condition value="dom-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.contained">
      <path value="QuestionnaireResponse.contained" />
      <short value="Contained, inline Resources" />
      <definition 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." />
      <comment 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." />
      <alias value="inline resources" />
      <alias value="anonymous resources" />
      <alias value="contained resources" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.contained" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Resource" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.extension">
      <path value="QuestionnaireResponse.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition 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 set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.modifierExtension">
      <path value="QuestionnaireResponse.modifierExtension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Extensions that cannot be ignored" />
      <definition 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.identifier">
      <path value="QuestionnaireResponse.identifier" />
      <short value="Unique id for this set of answers" />
      <definition value="A business identifier assigned to a particular completed (or partially completed) questionnaire." />
      <requirements value="Used for tracking, registration and other business purposes." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".id" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.basedOn">
      <path value="QuestionnaireResponse.basedOn" />
      <short value="Request fulfilled by this QuestionnaireResponse" />
      <definition value="The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.  For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Supports traceability of responsibility for the action and allows linkage of an action to the recommendations acted upon." />
      <alias value="order" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.basedOn" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=FLFS].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.parent">
      <path value="QuestionnaireResponse.parent" />
      <short value="Part of this action" />
      <definition value="A procedure or observation that this questionnaire was performed as part of the execution of.  For example, the surgery a checklist was executed as part of." />
      <comment value="Composition of questionnaire responses will be handled by the parent questionnaire having answers that reference the child questionnaire.  For relationships to referrals, and other types of requests, use basedOn." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.parent" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.questionnaire">
      <path value="QuestionnaireResponse.questionnaire" />
      <short value="Form being answered" />
      <definition value="The Questionnaire that defines and organizes the questions for which answers are being provided." />
      <comment value="If a QuestionnaireResponse references a Questionnaire, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.)." />
      <requirements value="Needed to allow editing of the questionnaire response in a manner that enforces the constraints of the original form." />
      <alias value="Form" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.questionnaire" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.status">
      <path value="QuestionnaireResponse.status" />
      <short value="in-progress | completed | amended | entered-in-error | stopped" />
      <definition value="The position of the questionnaire response within its overall lifecycle." />
      <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." />
      <requirements value="The information on Questionnaire resources  may possibly be gathered during multiple sessions and altered after considered being finished." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.status" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <fixedCode value="completed" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireResponseStatus" />
        </extension>
        <strength value="required" />
        <description value="Lifecycle status of the questionnaire response." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish &quot;in-progress&quot; from &quot;published)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="status" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.subject">
      <path value="QuestionnaireResponse.subject" />
      <short value="The subject of the questions" />
      <definition value="The subject of the questionnaire response.  This could be a patient, organization, practitioner, device, etc.  This is who/what the answers apply to, but is not necessarily the source of information." />
      <comment value="If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types." />
      <requirements value="Allows linking the answers to the individual the answers describe.  May also affect access control." />
      <alias value="Patient" />
      <alias value="Focus" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="who.focus" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.context">
      <path value="QuestionnaireResponse.context" />
      <short value="Encounter or Episode during which questionnaire was completed" />
      <definition value="The encounter or episode of care with primary association to the questionnaire response." />
      <comment value="A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter." />
      <requirements value="Provides context for the information that was captured.  May also affect access control." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.context" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".inboundRelationship(typeCode=COMP].source[classCode&lt;=PCPR, moodCode=EVN]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="context" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.authored">
      <path value="QuestionnaireResponse.authored" />
      <short value="Date the answers were gathered" />
      <definition value="Timestamp of generating this QuestionnaireResponse message." />
      <comment value="May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.&#xA;&#xA;This element is optional to allow for systems that may not know the value, however it SHOULD be populated if possible." />
      <requirements value="Clinicians need to be able to check the date that the information in the questionnaire was collected, to derive the context of the answers." />
      <alias value="Date Created" />
      <alias value="Date published" />
      <alias value="Date Issued" />
      <alias value="Date updated" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.authored" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].time" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.recorded" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author">
      <path value="QuestionnaireResponse.author" />
      <short value="Health Authority who received and recorded the answers" />
      <definition value="Health Authority who received the answers to the questions in the QuestionnaireResponse and recorded them in the system." />
      <comment value="none" />
      <requirements value="Need to know who interpreted the subject's answers to the questions in the questionnaire, and selected the appropriate options for answers." />
      <alias value="Laboratory" />
      <alias value="Service" />
      <alias value="Practitioner" />
      <alias value="Department" />
      <alias value="Company" />
      <alias value="Performer" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.author" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].role" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="who.author" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author.id">
      <path value="QuestionnaireResponse.author.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author.extension">
      <path value="QuestionnaireResponse.author.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author.reference">
      <path value="QuestionnaireResponse.author.reference" />
      <short value="Literal reference, Relative, internal or absolute URL" />
      <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
      <comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.reference" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <condition value="ref-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author.identifier">
      <path value="QuestionnaireResponse.author.identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity 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." />
      <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Reference.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.author.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.author.display" />
      <short value="Text alternative for the resource" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
      <comment value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Reference.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source">
      <path value="QuestionnaireResponse.source" />
      <short value="The person who answered the questions" />
      <definition value="The person who answered the questions about the subject." />
      <comment value="If not specified, no inference can be made about who provided the data." />
      <requirements value="When answering questions about a subject that is minor, incapable of answering or an animal, another human source may answer the questions." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.source" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=INF].role" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="who.source" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source.id">
      <path value="QuestionnaireResponse.source.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source.extension">
      <path value="QuestionnaireResponse.source.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source.reference">
      <path value="QuestionnaireResponse.source.reference" />
      <short value="Literal reference, Relative, internal or absolute URL" />
      <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
      <comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.reference" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <condition value="ref-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source.identifier">
      <path value="QuestionnaireResponse.source.identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity 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." />
      <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Reference.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.source.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.source.display" />
      <short value="Text alternative for the resource" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
      <comment value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Reference.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item">
      <path value="QuestionnaireResponse.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Groups and questions" />
      <definition value="A group or question item from the original questionnaire for which answers are provided." />
      <comment value="Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <constraint>
        <key value="qrs-1" />
        <severity value="error" />
        <human value="Nested item can't be beneath both item and answer" />
        <expression value="(answer.exists() and item.exists()).not()" />
        <xpath value="not(exists(f:answer) and exists(f:item))" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.id">
      <path value="QuestionnaireResponse.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.extension">
      <path value="QuestionnaireResponse.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.modifierExtension">
      <path value="QuestionnaireResponse.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.definition">
      <path value="QuestionnaireResponse.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.text">
      <path value="QuestionnaireResponse.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.subject">
      <path value="QuestionnaireResponse.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer">
      <path value="QuestionnaireResponse.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer.id">
      <path value="QuestionnaireResponse.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer.extension">
      <path value="QuestionnaireResponse.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer.value[x]">
      <path value="QuestionnaireResponse.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.answer.item">
      <path value="QuestionnaireResponse.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item.item">
      <path value="QuestionnaireResponse.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="INVESTIGATION" />
      <short value="1.0 INVESTIGATION" />
      <definition value="1.0 INVESTIGATION" />
      <comment value="Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer)." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <constraint>
        <key value="qrs-1" />
        <severity value="error" />
        <human value="Nested item can't be beneath both item and answer" />
        <expression value="(answer.exists() and item.exists()).not()" />
        <xpath value="not(exists(f:answer) and exists(f:item))" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.id">
      <path value="QuestionnaireResponse.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.extension">
      <path value="QuestionnaireResponse.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.modifierExtension">
      <path value="QuestionnaireResponse.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="linkId INVESTIGATION" />
      <definition value="linkId INVESTIGATION" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="INVESTIGATION" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.definition">
      <path value="QuestionnaireResponse.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.text">
      <path value="QuestionnaireResponse.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.subject">
      <path value="QuestionnaireResponse.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer">
      <path value="QuestionnaireResponse.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer.id">
      <path value="QuestionnaireResponse.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer.extension">
      <path value="QuestionnaireResponse.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer.value[x]">
      <path value="QuestionnaireResponse.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer.item">
      <path value="QuestionnaireResponse.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="externalSystemType" />
      <short value="1.1 investigation_externalSystemType" />
      <definition value="1.1 investigation_externalSystemType" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId investigation_externalSystemType" />
      <definition value="linkId investigation_externalSystemType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="investigation_externalSystemType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;293" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="externalSystemCaseIdentifier" />
      <short value="1.2 investigation_externalSystemCaseIdentifier" />
      <definition value="1.2 investigation_externalSystemCaseIdentifier" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId investigatioin_externalSystemCaseIdentifier" />
      <definition value="linkId investigatioin_externalSystemCaseIdentifier" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="investigatioin_externalSystemCaseIdentifier" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;293.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for string" />
      <definition value="Primitive value for string" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="string.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[\r\n\t\u0020-\uFFFF]*" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string" />
          </extension>
        </code>
      </type>
      <maxLength value="1048576" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="INVESTIGATIONDETAILS" />
      <short value="1.3 INVESTIGATION_DETAILS" />
      <definition value="1.3 INVESTIGATION_DETAILS" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId INVESTIGATION_DETAILS" />
      <definition value="linkId INVESTIGATION_DETAILS" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="INVESTIGATION_DETAILS" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetailsDiseaseSummary" />
      <short value="1.3.1 investigationDetails_DiseaseSummary" />
      <definition value="1.3.1 investigationDetails_DiseaseSummary" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId investigationDetails_DiseaseSummary" />
      <definition value="linkId investigationDetails_DiseaseSummary" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="investigationDetails_DiseaseSummary" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classification" />
      <short value="1.3.1.1 invDetDiseaseSum_classification" />
      <definition value="1.3.1.1 invDetDiseaseSum_classification" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classification" />
      <definition value="linkId invDetDiseaseSum_classification" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_classification" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;193" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classificationGroup" />
      <short value="1.3.1.2 invDetDiseaseSum_classificationGroup" />
      <definition value="1.3.1.2 invDetDiseaseSum_classificationGroup" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classificationGroup" />
      <definition value="linkId invDetDiseaseSum_classificationGroup" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_classificationGroup" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;193.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_disease" />
      <short value="invDetDiseaseSum_Disease" />
      <definition value="invDetDiseaseSum_Disease" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_disease" />
      <definition value="linkId invDetDiseaseSum_disease" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_disease" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_authority" />
      <short value="invDetDiseaseSum_authority" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_authority" />
      <definition value="linkId invDetDiseaseSum_authority" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_authority" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;257" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;257" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_furtherDifferentiation" />
      <short value="invDetDiseaseSum_furtherDifferentiation" />
      <definition value="invDetDiseaseSum_furtherDifferentiation" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_furtherDifferentiation" />
      <definition value="linkId invDetDiseaseSum_furtherDifferentiation" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_furtherDifferentiation" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;264" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for string" />
      <definition value="Primitive value for string" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="string.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[\r\n\t\u0020-\uFFFF]*" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string" />
          </extension>
        </code>
      </type>
      <maxLength value="1048576" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classificationDate" />
      <short value="invDetDiseaseSum_classificationDate" />
      <definition value="invDetDiseaseSum_classificationDate" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classificationDate" />
      <definition value="linkId invDetDiseaseSum_classificationDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_classificationDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;265" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for date" />
      <definition value="Primitive value for date" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="date.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
          <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:gYear OR xsd:gYearMonth OR xsd:date" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:gYear OR xsd:gYearMonth OR xsd:date" />
          </extension>
        </code>
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_stage" />
      <short value="invDetDiseaseSum_stage" />
      <definition value="invDetDiseaseSum_stage" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_stage" />
      <definition value="linkId invDetDiseaseSum_stage" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_stage" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.2" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_site" />
      <short value="invDetDiseaseSum_site" />
      <definition value="invDetDiseaseSum_site" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_site" />
      <definition value="linkId invDetDiseaseSum_site" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_site" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_recordType" />
      <short value="invDetDiseaseSum_recordType" />
      <definition value="invDetDiseaseSum_recordType&#xD;&#xA;CM: Mandatory if Disease (194) provided" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;194.4" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_recordType" />
      <definition value="linkId invDetDiseaseSum_recordType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.4" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_diseaseID" />
      <short value="Disease ID" />
      <definition value="Mandatory if data element (194) Disease provided" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Disease ID" />
      <definition value="CM: Mandatory if data element (194) Disease provided&#xD;&#xA;Disease ID" />
      <comment value="none" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_diseaseID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for string" />
      <definition value="Primitive value for string" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="string.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[\r\n\t\u0020-\uFFFF]*" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string" />
          </extension>
        </code>
      </type>
      <maxLength value="1048576" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtMicroOrg" />
      <short value="MicroOrganism" />
      <definition value="MicroOrganism" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtMicroOrg" />
      <definition value="MicroOrganism" />
      <comment value="none" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtMicroOrg" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR1" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID Taxonomy Rank 1" />
      <definition value="linkID Taxonomy Rank 1" />
      <comment value="none" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR1" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR2" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR2" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR2" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR2" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.2" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR3" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR3" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR3" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR3" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR4" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR4" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR4" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR4" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.4" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR5" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR5" />
      <definition value="linkId invDetDiseaseSum_etioAgtTaxoR5" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR5" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR6" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR6" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR6" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR6" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.6" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarker" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarker" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarker" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtEPImarker" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkName" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkName" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarkName" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkName" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkValue" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkValue" />
      <definition value="linkId invDetDiseaseSum_etioAgtEPImarkValue" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkValue" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkOvr" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkOvr" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarkOvr" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkOvr" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtInfoSource" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtInfoSource" />
      <definition value="The item from the linkID invDetDiseaseSum_etioAgtInfoSource" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtInfoSource" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;315.7" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtLabResultInd" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtLabResultInd" />
      <definition value="linkID invDetDiseaseSum_etioAgtLabResultInd" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetDiseaseSum_etioAgtLabResultInd" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;194.5" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_InvestigationInformation" />
      <short value="1.3.2 InvestigationDetails_InvestigationInformation" />
      <definition value="1.3.2 InvestigationDetails_InvestigationInformation" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId InvestigationDetails_InvestigationInformation" />
      <definition value="linkId InvestigationDetails_InvestigationInformation" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="InvestigationDetails_InvestigationInformation" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_clientHomeAddressInitialInvestigation" />
      <short value="invDetInvInfo_clientHomeAddressInitialInvestigation" />
      <definition value="invDetInvInfo_clientHomeAddressInitialInvestigation&#xD;&#xA;To be derived by API service based on current address of investigation; HAs do not send this info." />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;296" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;298" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_status" />
      <short value="invDetInvInfo_status" />
      <definition value="invDetInvInfo_status" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;313" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;313" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_statusDate" />
      <short value="invDetInvInfo_statusDate" />
      <definition value="invDetInvInfo_statusDate" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;313.1" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;313.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for date" />
      <definition value="Primitive value for date" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="date.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
          <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:gYear OR xsd:gYearMonth OR xsd:date" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:gYear OR xsd:gYearMonth OR xsd:date" />
          </extension>
        </code>
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_investigationDiagnosisComment" />
      <short value="invDetDiseaseSum_investigationDiagnosisComment" />
      <definition value="invDetDiseaseSum_investigationDiagnosisComment" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;194.1" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].value">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for string" />
      <definition value="Primitive value for string" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="string.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[\r\n\t\u0020-\uFFFF]*" />
        </extension>
        <code>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string" />
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string" />
          </extension>
        </code>
      </type>
      <maxLength value="1048576" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_RespOrganizationInvestigator" />
      <short value="1.3.3. InvestigationDetails_RespOrganizationInvestigator" />
      <definition value="1.3.3. InvestigationDetails_RespOrganizationInvestigator" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkID InvestigationDetails_RespOrganizationInvestigator" />
      <definition value="linkID InvestigationDetails_RespOrganizationInvestigator" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="invDetRespOrgInv_responsibleOrganization" />
      <definition value="invDetRespOrgInv_responsibleOrganization" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganization" />
      <short value="invDetRespOrgInv_responsibleOrganization" />
      <definition value="invDetRespOrgInv_responsibleOrganization" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganization" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganization" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_responsibleOrganization" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <short value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <definition value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99.3" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganizationDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganizationDate" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganizationDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_responsibleOrganizationDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;99.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorOrganization" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorOrganization" />
      <definition value="linkID invDetRespOrgInv_investigatorOrganization" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_investigatorOrganization" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.5" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorWorkgroup" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorWorkgroup" />
      <definition value="linkId invDetRespOrgInv_investigatorWorkgroup" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_investigatorWorkgroup" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.6" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorAssignedDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorAssignedDate" />
      <definition value="linkID invDetRespOrgInv_investigatorAssignedDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_investigatorAssignedDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.7" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_recordType" />
      <definition value="linkID invDetRespOrgInv_recordType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRespOrgInv_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.8" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_ReportingNotifications" />
      <short value="1.3.4 InvestigationDetails_ReportingNotifications" />
      <definition value="1.3.4 InvestigationDetails_ReportingNotifications" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkID InvestigationDetails_ReportingNotifications" />
      <definition value="linkID InvestigationDetails_ReportingNotifications" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="InvestigationDetails_ReportingNotifications" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_reportingSentDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_reportingSentDate" />
      <definition value="linkId invDetRepNotif_reportingSentDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_reportingSentDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_reportingReceivedDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_reportingReceivedDate" />
      <definition value="linkId invDetRepNotif_reportingReceivedDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_reportingReceivedDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_provider" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_provider" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided&#xD;&#xA;linkId invDetRepNotif_provider" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_provider" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided" />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].reference" />
      <short value="Literal reference, Relative, internal or absolute URL" />
      <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:  &#xD;&#xA;To be referenced for Reporting Provider" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.reference" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="Practitioner" />
      <condition value="ele-1" />
      <condition value="ref-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].identifier">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity 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." />
      <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Text alternative for the resource" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
      <comment value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerFacility" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkIdinvDetRepNotif_providerFacility" />
      <definition value="linkId invDetRepNotif_providerFacility" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_providerFacility" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:  178" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerReportingSourceLocation" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_providerReportingSourceLocation" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided&#xD;&#xA;linkId invDetRepNotif_providerReportingSourceOther" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_providerReportingSourceLocation" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided" />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.2" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerReportingSourceOther" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_providerReportingSourceOther" />
      <definition value="linkId invDetRepNotif_providerReportingSourceOther" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_providerReportingSourceOther" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerStreetAddress" />
      <short value="invDetRepNotif_providerStreetAddress" />
      <definition value="invDetRepNotif_providerStreetAddress" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="invDetRepNotif_providerStreetAddress" />
      <definition value="invDetRepNotif_providerStreetAddress" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_providerStreetAddress" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;178.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_recordType" />
      <definition value="linkId invDetRepNotif_recordType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="invDetRepNotif_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;167.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_UDF" />
      <short value="1.3.5 InvestigationDetails_UDF" />
      <definition value="1.3.5 InvestigationDetails_UDF" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId InvestigationDetails_UDF" />
      <definition value="linkId InvestigationDetails_UDF" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="InvestigationDetails_UDF" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="UDF_snomedCodeOfDisease1" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId UDF_snomedCodeOfDisease1" />
      <definition value="UDF_snomedCodeOfDisease1&#xD;&#xA;e.g. UDF_397428000 for Diphtheria" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword1Disease1" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword1Disease1" />
      <definition value="linkId UDF_questionKeyword1Disease1&#xD;&#xA;e.g. UDF_admission_date" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword2Disease1" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword2Disease1" />
      <definition value="linkId UDF_questionKeyword2Disease1" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="UDF_snomedcodeOfDisease2" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId UDF_snomedcodeOfDisease2" />
      <definition value="linkID UDF_snomedcodeOfDisease2&#xD;&#xA;e.g. UDF_56717001 for Tuberculosis" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword1Disease2" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword1Disease2" />
      <definition value="linkId UDF_questionKeyword1Disease2&#xD;&#xA;e.g. UDF_admitted_to_hospital" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword2Disease2" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword2Disease2" />
      <definition value="linkId UDF_questionKeyword2Disease2&#xD;&#xA;e.g. UDF_name_of_hospital_for_admission" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="LAB" />
      <short value="1.4 LAB" />
      <definition value="1.4 LAB" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId LAB" />
      <definition value="linkId LAB" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="LAB" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="lab_diagnosticReport" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId lab_idagnosticReport" />
      <definition value="linkId lab_idagnosticReport" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="lab_idagnosticReport" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].reference" />
      <short value="Literal reference, Relative, internal or absolute URL" />
      <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;To be referenced for Lab Test and Result" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.reference" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="DiagnosticReport" />
      <condition value="ele-1" />
      <condition value="ref-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].identifier">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity 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." />
      <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Text alternative for the resource" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
      <comment value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="lab_phReceivedDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId lab_phReceivedDate" />
      <definition value="linkId lab_phReceivedDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="lab_phReceivedDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;294" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="labRpt_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId labRpt_recordType" />
      <definition value="linkId labRpt_recordType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="labRpt_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="CM: Mandatory if data element (30.1) Lab Result Name provided" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;14.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="SIGNS_SYMPTOMS" />
      <short value="1.5 SIGNS_SYMPTOMS" />
      <definition value="1.5 SIGNS_SYMPTOMS" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkID SIGNS_SYMPTOMS" />
      <definition value="linkId SIGNS_SYMPTOMS" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="SIGNS_SYMPTOMS" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_onsetFlag" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="linkId signSymp_onsetFlag" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_onsetFlag" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;48" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_onsetDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId signSymp_onsetDate" />
      <definition value="CM: Mandatory if data element (48) Onset Flag=&quot;y&quot;&#xD;&#xA;linkId signSymp_onsetDate" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_onsetDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recoveryTime" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_recoveryTime" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recoveryTimeEstimatedIndicator" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_recoveryTimeEstimatedIndicator" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_duration" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_duration" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_signsSymptoms" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_signsSymptoms" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_symptomID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandaotyr if data element (56) Sign Symptoms provided&#xD;&#xA;signSymp_symptomID" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_symptomID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_dateOnsetEstimatedIndicator" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_dateOnsetEstimatedIndicator" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;258" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_otherSignsSymptoms" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandaotyr if data element (56) Sign Symptoms =&quot;Other&quot;&#xD;&#xA;linkId signSymp_otherSignsSymptoms" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_otherSignsSymptoms" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;259" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_signsSymptomsResponse" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatoryf data element (56) provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_signsSymptomsResponse" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;260" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandaotyr if data element (56) Signs Symptoms provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="signSymp_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56.2" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="COMPLICATIONS" />
      <short value="1.6 COMPLICATIONS" />
      <definition value="1.6 COMPLICATIONS" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="COMPLICATIONS" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complication" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="cmpl_complication" />
      <definition value="cmpl_complication" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_complication" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complicationDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_complicationDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_reportedBy" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_reportedBy" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.2" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_response" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_response" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_otherComplication" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (296) Complication=&quot;Other&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_otherComplication" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_encounterID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Other Complication" />
      <definition value="CM: Mandatory if data element (296) Compliation provided &#xD;&#xA;Other Complication" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_encounterID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.5" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complicationID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Complication ID" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_complicationID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.7" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="cmpl_recordType" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="cmpl_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.6" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="OUTCOMES" />
      <short value="1.7 OUTCOMES" />
      <definition value="1.7 OUTCOMES" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="OUTCOMES" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Outcome Date" />
      <definition value="CM: Mandatory if data element (155) Outcome =&quot;Fatal&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_outcomeDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;149" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_specifyOutcome" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if 155) Outcome =&quot;Other&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_specifyOutcome" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;153" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeCauseOfDeath" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (155) Outcome = &quot;Fatal&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_outcomeCauseOfDeath" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_causeOfDeathComments" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Cause of Death Comments" />
      <definition value="Cause of Death Comments" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_causeOfDeathComments" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_causeOfDeathOtherText" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Cause of Death - Other text" />
      <definition value="CM: Mandatory if data element (154) Outcome - Cause of Death is provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_causeOfDeathOtherText" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeComments" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Outcome Comments" />
      <definition value="Outcome Comments" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_outcomeComments" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcome" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="Outcome" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_outcome" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (155) Outcome provided&#xD;&#xA;Record Type - Outcome" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="outC_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="INTERVENTIONS" />
      <short value="1.8 INTERVENTIONS" />
      <definition value="1.8 INTERVENTIONS" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="INTERVENTIONS" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="Intervention Type" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_interventionType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionSubtype" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided&#xD;&#xA;Intervention SubType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_interventionSubtype" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionDisposition" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_interventionDisposition" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.6" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_startDateOfIntervention" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided&#xD;&#xA;Start Date of Intervention" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_startDateOfIntervention" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_endDateOfIntervention" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_endDateOfIntervention" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_organization" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_organization" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.4" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_serviceDeliveryLocation" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_serviceDeliveryLocation" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionOutcome" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_interventionOutcome" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;74.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_details" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_details" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;75" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_interventionID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.8" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="intrvnt_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.7" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="EXPOSURE_SUMMARY" />
      <short value="1.9 EXPOSURE_SUMMARY" />
      <definition value="1.9 EXPOSURE_SUMMARY" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="expoSum_TE" />
      <short value="1.9.1 expoSum_TE" />
      <definition value="1.9.1 expoSum_TE" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_linkID" />
      <short value="1.9.1.1 expoSumTE_linkID" />
      <definition value="1.9.1.1 expoSumTE_linkID" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="TE Link ID (TE)" />
      <definition value="Mandatory to create Acquisition Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_linkID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_id" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="TE ID (TE)" />
      <definition value="Mandatory to create Transmission Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_id" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureName" />
      <short value="expoSumTE_exposureName" />
      <definition value="expoSumTE_exposureName" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Exposure Name (TE)" />
      <definition value="Mandatory to create Tranmission Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_exposureName" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_transmissionStartDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_transmissionStartDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureLocationNameAddress" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_exposureLocationNameAddress" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;187" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_modeOfTransmission" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_modeOfTransmission" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;305" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_natureOfTransmission" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_natureOfTransmission" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;305.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureSetting" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_exposureSetting" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;186" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE__recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE__recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.4" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_Contact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTE_Contact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_anonymousContact" />
      <short value="1.9.1.10.1 expoSumTEContact_anonymousContact" />
      <definition value="1.9.1.10.1 expoSumTEContact_anonymousContact" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Anonymous Contacts" />
      <definition value="Anonymous Contacts" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_anonymousContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;304" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_anonymousContactDetails" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_anonymousContactDetails" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;304.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_RpGp58" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="1.9.1.10.3 expoSumTEContact_RpGp58" />
      <definition value="1.9.1.10.3 expoSumTEContact_RpGp58&#xD;&#xA;Repeating Group #58" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_RpGp#58" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_indeterminateContactClientInd" />
      <short value="1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd" />
      <definition value="1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Indeterminate Contact Client Indicator" />
      <definition value="CM: Mandatory for contact record to be created.  Defaults to &quot;N&quot;.&#xD;&#xA;Indeterminate Contact Client Indicator" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_indeterminateContactClientInd" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactTEID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactTEID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_lastNameContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_lastNameContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_firstNameContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_firstNameContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_doBContact" />
      <short value="expoSumTEContact_doBContact" />
      <definition value="expoSumTEContact_doBContact" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="DoB (Contact TE)" />
      <definition value="DoB (Contact TE)" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_doBContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="DoB (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_genderContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="expoSumTEContact_genderContact" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_genderContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_healthRegionInfoContact" />
      <short value="expoSumTEContact_healthRegionInfoContact" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Health Region Information (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless 299.4=&quot;Y&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_healthRegionInfoContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Health Region Information (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;300" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_typeOfContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="expoSumTEContact_typeOfContact" />
      <definition value="Type of Contact (Contact TE)" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_typeOfContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;131" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_earliestContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Earliest Contact (Contact TE)" />
      <definition value="Earliest Contact (Contact TE)" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_earliestContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;132" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_mostRecentContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Most Recent Contact (Contact TE)" />
      <definition value="Most Recent Contact (Contact TE)" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_mostRecentContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;133" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_otherDetailsContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Other Details (Contact TE)" />
      <definition value="Other Details (Contact TE)" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_otherDetailsContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;134" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContactRpGp58__recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContactRpGp58__recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_RpGp3" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_RpGp#3" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_postExpProphylaxisMMR_OutOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_postExpProphylaxisMMR_OutOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_mmrDate_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_mmrDate_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_igCC_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_igCC_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_igDate_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_igDate_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_postExpoProphylaxisIG_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_postExpoProphylaxisIG_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactName_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactName_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_unknownContactID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_unknownContactID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_disposition_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_disposition_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.1" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_dispositionDetails_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_dispositionDetails_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDetails_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactDetails_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;288" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactInfos_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactInfos_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;289" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_susceptibliity_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_susceptibliity_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;135" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDateEarliest_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactDateEarliest_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.5" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDateMostRecent_outOfBC" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContact_contactDateMostRecent_outOfBC" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContactRpGp3__recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumTEContactRpGp3__recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="expoSum_AE" />
      <short value="1.9.2 expoSum_AE" />
      <definition value="1.9.2 expoSum_AE" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSum_AE" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_linkID" />
      <short value="1.9.2.1 expoSumAE_linkID" />
      <definition value="1.9.2.1 expoSumAE_linkID" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="AE Link ID (AE)" />
      <definition value="CM: Mandatory to link Transmission Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_linkID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="CM: Mandatory to link Transmission Event" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_id" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_id" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureName" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_exposureName" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.1" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_acquisitionStartDate" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_acquisitionStartDate" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureLocationNameAddress" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_exposureLocationNameAddress" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;303" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_modeOfAcquisition" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_modeOfAcquisition" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_natureOfAcquisition" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_natureOfAcquisition" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureSetting" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_exposureSetting" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;302" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE__recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE__recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_RpGp7" />
      <short value="1.9.2.10 expoSumAE_RpGp7" />
      <definition value="1.9.2.10 expoSumAE_RpGp7" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.extension">
      <path value="QuestionnaireResponse.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Repeating Group 7" />
      <definition value="Repeating Group 7" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_RpGp7" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_indeterminateContactClientInd" />
      <short value="1.9.2.10.1 expoSumAE_indeterminateContactClientInd" />
      <definition value="1.9.2.10.1 expoSumAE_indeterminateContactClientInd" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_indeterminateContactClientInd" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_lastNameContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory for contact record to be created" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_lastNameContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_firstNameContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory for contact record to be created" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_firstNameContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_dobContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_dobContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_genderContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_genderContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.3" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_healthRegionInfoContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_healthRegionInfoContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;308" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_typeOfContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_typeOfContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;309" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_earliestContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_earliestContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_mostRecentContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_mostRecentContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;311" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_otherDetailsContact" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_otherDetailsContact" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;312" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_contactAEID" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAE_contactAEID" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAERpGp7__recordType" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="expoSumAERpGp7__recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="SUBJECT" />
      <short value="2.0 SUBJECT" />
      <definition value="2.0 SUBJECT" />
      <comment value="Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <constraint>
        <key value="qrs-1" />
        <severity value="error" />
        <human value="Nested item can't be beneath both item and answer" />
        <expression value="(answer.exists() and item.exists()).not()" />
        <xpath value="not(exists(f:answer) and exists(f:item))" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.id">
      <path value="QuestionnaireResponse.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.extension">
      <path value="QuestionnaireResponse.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.modifierExtension">
      <path value="QuestionnaireResponse.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="SUBJECT" />
      <definition value="SUBJECT" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="SUBJECT" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.definition">
      <path value="QuestionnaireResponse.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.text">
      <path value="QuestionnaireResponse.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;310" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.subject">
      <path value="QuestionnaireResponse.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer">
      <path value="QuestionnaireResponse.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer.id">
      <path value="QuestionnaireResponse.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer.extension">
      <path value="QuestionnaireResponse.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer.value[x]">
      <path value="QuestionnaireResponse.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.answer.item">
      <path value="QuestionnaireResponse.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="SUBJECT_RISK_FACTORS" />
      <short value="2.1 SUBJECT_RISK_FACTORS" />
      <definition value="2.1 SUBJECT_RISK_FACTORS" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="SUBJECT_RISK_FACTORS" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="subjRiskFactors_riskFActors" />
      <short value="2.1.1 subjRiskFactors_riskFActors" />
      <definition value="2.1.1 subjRiskFactors_riskFActors" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="2.1.1 subjRiskFactors_riskFactors" />
      <definition value="2.1.1 subjRiskFactors_riskFactors" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="subjRiskFactors_riskFactors" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Risk Factors" />
      <definition value="Risk Factors" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;To be referenced for Risk Factors" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].reference" />
      <short value="riskAssessment" />
      <definition value="riskAssessment" />
      <comment value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.reference" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="riskAssessment" />
      <condition value="ele-1" />
      <condition value="ref-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].identifier">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity 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." />
      <comment value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. 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]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].display" />
      <short value="Text alternative for the resource" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference." />
      <comment value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Reference.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="subjRiskFactors_recordType" />
      <short value="2.1.2 subjRiskFactors_recordType" />
      <definition value="2.1.2 subjRiskFactors_recordType" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.extension">
      <path value="QuestionnaireResponse.item.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="subjRiskFactors_recordType" />
      <definition value="subjRiskFactors_recordType" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="subjRiskFactors_recordType" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.extension">
      <path value="QuestionnaireResponse.item.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;38.5" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.item">
      <path value="QuestionnaireResponse.item.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="NOTES" />
      <short value="3.0 NOTES" />
      <definition value="3.0 NOTES" />
      <comment value="Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <constraint>
        <key value="qrs-1" />
        <severity value="error" />
        <human value="Nested item can't be beneath both item and answer" />
        <expression value="(answer.exists() and item.exists()).not()" />
        <xpath value="not(exists(f:answer) and exists(f:item))" />
        <source value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.id">
      <path value="QuestionnaireResponse.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.extension">
      <path value="QuestionnaireResponse.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.modifierExtension">
      <path value="QuestionnaireResponse.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="3.0 NOTES" />
      <definition value="3.0 NOTES" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="NOTES" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.definition">
      <path value="QuestionnaireResponse.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.text">
      <path value="QuestionnaireResponse.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.subject">
      <path value="QuestionnaireResponse.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer">
      <path value="QuestionnaireResponse.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer.id">
      <path value="QuestionnaireResponse.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer.extension">
      <path value="QuestionnaireResponse.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer.value[x]">
      <path value="QuestionnaireResponse.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.answer.item">
      <path value="QuestionnaireResponse.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_text" />
      <short value="3.1 notes_text" />
      <definition value="3.1 notes_text" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="3.1 notes_text" />
      <definition value="3.1 notes_text" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_text" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_id" />
      <short value="3.2 notes_id" />
      <definition value="3.2 notes_id" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="notes_id" />
      <definition value="notes_id" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_id" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.2" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_context" />
      <short value="3.3 notes_context" />
      <definition value="3.3 notes_context" />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (314) Note Text provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_context" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.3" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_subjectLine" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element 314 (Note Text) provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_subjectLine" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.4" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_status" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (314) Note Text provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_status" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.5" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_date" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (314) Note Text provided&#xD;&#xA;Note Date: yyyy-mm-ddThh:mm:000000[Z|(+|-)hh:mm" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_date" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.6" />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_type" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.id">
      <path value="QuestionnaireResponse.item.item.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.extension">
      <path value="QuestionnaireResponse.item.item.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.modifierExtension">
      <path value="QuestionnaireResponse.item.item.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="Pointer to specific item from Questionnaire" />
      <definition value="CM: Mandatory if data element (314.7) Note Text provided" />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.linkId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <fixedString value="notes_type" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <short value="ElementDefinition - details for the item" />
      <definition value="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." />
      <comment value="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xA;&#xA;There is no need for this element if the item pointed to by the linkId has a definition listed." />
      <requirements value="A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.definition" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <short value="Name for group or question text" />
      <definition value="Text that is displayed above the contents of the group or as the text of the question being answered." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Allows the questionnaire response to be read without access to the questionnaire." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <short value="The subject this group's answers are about" />
      <definition value="More specific subject this section's answers are about, details the subject given in QuestionnaireResponse." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <short value="The response(s) to the question" />
      <definition value="The respondent's answer(s) to the question." />
      <comment value="The value is nested because we cannot have a repeating structure that has variable type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value[type=LIST_ANY]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.extension">
      <path value="QuestionnaireResponse.item.item.answer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.modifierExtension">
      <path value="QuestionnaireResponse.item.item.answer.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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 set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <short value="Single-valued answer to the question" />
      <definition value="The answer (or one of the answers) provided by the respondent to the question." />
      <comment value="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions." />
      <requirements value="Ability to retain a single-valued answer to a question." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="QuestionnaireResponse.item.answer.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="QuestionnaireAnswer" />
        </extension>
        <strength value="example" />
        <description value="Code indicating the response provided for a question." />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".item" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].extension">
      <path value="QuestionnaireResponse.item.item.answer.value[x].extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment 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 level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.answer.value[x].system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.answer.value[x].version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.7" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.item.item.answer.value[x].display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.answer.value[x].userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() | (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="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 &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.item">
      <path value="QuestionnaireResponse.item.item.answer.item" />
      <short value="Nested groups and questions" />
      <definition value="Nested groups and/or questions found within this particular answer." />
      <requirements value="It is useful to have &quot;sub-questions&quot;, questions which normally appear when certain answers are given and which collect additional details." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.answer.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <short value="Nested questionnaire response items" />
      <definition value="Questions or sub-groups nested beneath a question or group." />
      <requirements value="Reports can consist of complex nested groups." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="QuestionnaireResponse.item.item" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="QuestionnaireResponse.id">
      <path value="QuestionnaireResponse.id" />
      <short value="GUID" />
      <definition value="Unique GUID to identify each individual QuestionnaireResponse message" />
      <min value="1" />
    </element>
    <element id="QuestionnaireResponse.meta">
      <path value="QuestionnaireResponse.meta" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.implicitRules">
      <path value="QuestionnaireResponse.implicitRules" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.language">
      <path value="QuestionnaireResponse.language" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.text">
      <path value="QuestionnaireResponse.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.identifier">
      <path value="QuestionnaireResponse.identifier" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.basedOn">
      <path value="QuestionnaireResponse.basedOn" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.parent">
      <path value="QuestionnaireResponse.parent" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.questionnaire">
      <path value="QuestionnaireResponse.questionnaire" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.status">
      <path value="QuestionnaireResponse.status" />
      <fixedCode value="completed" />
    </element>
    <element id="QuestionnaireResponse.subject">
      <path value="QuestionnaireResponse.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.context">
      <path value="QuestionnaireResponse.context" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.authored">
      <path value="QuestionnaireResponse.authored" />
      <definition value="Timestamp of generating this QuestionnaireResponse message." />
    </element>
    <element id="QuestionnaireResponse.author">
      <path value="QuestionnaireResponse.author" />
      <short value="Health Authority who received and recorded the answers" />
      <definition value="Health Authority who received the answers to the questions in the QuestionnaireResponse and recorded them in the system." />
      <comment value="none" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
    </element>
    <element id="QuestionnaireResponse.author.identifier">
      <path value="QuestionnaireResponse.author.identifier" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.author.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.author.display" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.source">
      <path value="QuestionnaireResponse.source" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="QuestionnaireResponse.source.identifier">
      <path value="QuestionnaireResponse.source.identifier" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.source.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="QuestionnaireResponse.source.display" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item">
      <path value="QuestionnaireResponse.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="INVESTIGATION" />
      <short value="1.0 INVESTIGATION" />
      <definition value="1.0 INVESTIGATION" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="linkId INVESTIGATION" />
      <definition value="linkId INVESTIGATION" />
      <fixedString value="INVESTIGATION" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.definition">
      <path value="QuestionnaireResponse.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.text">
      <path value="QuestionnaireResponse.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.subject">
      <path value="QuestionnaireResponse.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.answer">
      <path value="QuestionnaireResponse.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="externalSystemType" />
      <short value="1.1 investigation_externalSystemType" />
      <definition value="1.1 investigation_externalSystemType" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId investigation_externalSystemType" />
      <definition value="linkId investigation_externalSystemType" />
      <fixedString value="investigation_externalSystemType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <min value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;293" />
      <min value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="externalSystemCaseIdentifier" />
      <short value="1.2 investigation_externalSystemCaseIdentifier" />
      <definition value="1.2 investigation_externalSystemCaseIdentifier" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId investigatioin_externalSystemCaseIdentifier" />
      <definition value="linkId investigatioin_externalSystemCaseIdentifier" />
      <fixedString value="investigatioin_externalSystemCaseIdentifier" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.id">
      <path value="QuestionnaireResponse.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;293.1" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="INVESTIGATIONDETAILS" />
      <short value="1.3 INVESTIGATION_DETAILS" />
      <definition value="1.3 INVESTIGATION_DETAILS" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId INVESTIGATION_DETAILS" />
      <definition value="linkId INVESTIGATION_DETAILS" />
      <fixedString value="INVESTIGATION_DETAILS" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.definition">
      <path value="QuestionnaireResponse.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.text">
      <path value="QuestionnaireResponse.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.subject">
      <path value="QuestionnaireResponse.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer">
      <path value="QuestionnaireResponse.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetailsDiseaseSummary" />
      <short value="1.3.1 investigationDetails_DiseaseSummary" />
      <definition value="1.3.1 investigationDetails_DiseaseSummary" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId investigationDetails_DiseaseSummary" />
      <definition value="linkId investigationDetails_DiseaseSummary" />
      <fixedString value="investigationDetails_DiseaseSummary" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classification" />
      <short value="1.3.1.1 invDetDiseaseSum_classification" />
      <definition value="1.3.1.1 invDetDiseaseSum_classification" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classification" />
      <definition value="linkId invDetDiseaseSum_classification" />
      <fixedString value="invDetDiseaseSum_classification" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;193" />
      <min value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classificationGroup" />
      <short value="1.3.1.2 invDetDiseaseSum_classificationGroup" />
      <definition value="1.3.1.2 invDetDiseaseSum_classificationGroup" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classificationGroup" />
      <definition value="linkId invDetDiseaseSum_classificationGroup" />
      <fixedString value="invDetDiseaseSum_classificationGroup" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;193.1" />
      <min value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_disease" />
      <short value="invDetDiseaseSum_Disease" />
      <definition value="invDetDiseaseSum_Disease" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_disease" />
      <definition value="linkId invDetDiseaseSum_disease" />
      <fixedString value="invDetDiseaseSum_disease" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_authority" />
      <short value="invDetDiseaseSum_authority" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_authority" />
      <definition value="linkId invDetDiseaseSum_authority" />
      <fixedString value="invDetDiseaseSum_authority" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;257" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;257" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_furtherDifferentiation" />
      <short value="invDetDiseaseSum_furtherDifferentiation" />
      <definition value="invDetDiseaseSum_furtherDifferentiation" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_furtherDifferentiation" />
      <definition value="linkId invDetDiseaseSum_furtherDifferentiation" />
      <fixedString value="invDetDiseaseSum_furtherDifferentiation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;264" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_classificationDate" />
      <short value="invDetDiseaseSum_classificationDate" />
      <definition value="invDetDiseaseSum_classificationDate" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_classificationDate" />
      <definition value="linkId invDetDiseaseSum_classificationDate" />
      <fixedString value="invDetDiseaseSum_classificationDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;265" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_stage" />
      <short value="invDetDiseaseSum_stage" />
      <definition value="invDetDiseaseSum_stage" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_stage" />
      <definition value="linkId invDetDiseaseSum_stage" />
      <fixedString value="invDetDiseaseSum_stage" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_site" />
      <short value="invDetDiseaseSum_site" />
      <definition value="invDetDiseaseSum_site" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_site" />
      <definition value="linkId invDetDiseaseSum_site" />
      <fixedString value="invDetDiseaseSum_site" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.3" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_recordType" />
      <short value="invDetDiseaseSum_recordType" />
      <definition value="invDetDiseaseSum_recordType&#xD;&#xA;CM: Mandatory if Disease (194) provided" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;194.4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetDiseaseSum_recordType" />
      <definition value="linkId invDetDiseaseSum_recordType" />
      <fixedString value="invDetDiseaseSum_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.4" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_diseaseID" />
      <short value="Disease ID" />
      <definition value="Mandatory if data element (194) Disease provided" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Disease ID" />
      <definition value="CM: Mandatory if data element (194) Disease provided&#xD;&#xA;Disease ID" />
      <comment value="none" />
      <fixedString value="invDetDiseaseSum_diseaseID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.6" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtMicroOrg" />
      <short value="MicroOrganism" />
      <definition value="MicroOrganism" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtMicroOrg" />
      <definition value="MicroOrganism" />
      <comment value="none" />
      <fixedString value="invDetDiseaseSum_etioAgtMicroOrg" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID Taxonomy Rank 1" />
      <definition value="linkID Taxonomy Rank 1" />
      <comment value="none" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR2" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR2" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR3" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR3" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR3" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR4" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR4" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR5" />
      <definition value="linkId invDetDiseaseSum_etioAgtTaxoR5" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtTaxoR6" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <short value="linkID invDetDiseaseSum_etioAgtTaxoR6" />
      <definition value="linkID invDetDiseaseSum_etioAgtTaxoR6" />
      <max value="0" />
      <fixedString value="invDetDiseaseSum_etioAgtTaxoR6" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;315.6" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarker" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarker" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarker" />
      <fixedString value="invDetDiseaseSum_etioAgtEPImarker" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkName" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarkName" />
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkValue" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkValue" />
      <definition value="linkId invDetDiseaseSum_etioAgtEPImarkValue" />
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkValue" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.definition">
      <path value="QuestionnaireResponse.item.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.text">
      <path value="QuestionnaireResponse.item.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.subject">
      <path value="QuestionnaireResponse.item.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtEPImarkOvr" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtEPImarkOvr" />
      <definition value="linkID invDetDiseaseSum_etioAgtEPImarkOvr" />
      <fixedString value="invDetDiseaseSum_etioAgtEPImarkOvr" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;316.2" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtInfoSource" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtInfoSource" />
      <definition value="The item from the linkID invDetDiseaseSum_etioAgtInfoSource" />
      <fixedString value="invDetDiseaseSum_etioAgtInfoSource" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;315.7" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_etioAgtLabResultInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkID invDetDiseaseSum_etioAgtLabResultInd" />
      <definition value="linkID invDetDiseaseSum_etioAgtLabResultInd" />
      <fixedString value="invDetDiseaseSum_etioAgtLabResultInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;194.5" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_InvestigationInformation" />
      <short value="1.3.2 InvestigationDetails_InvestigationInformation" />
      <definition value="1.3.2 InvestigationDetails_InvestigationInformation" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId InvestigationDetails_InvestigationInformation" />
      <definition value="linkId InvestigationDetails_InvestigationInformation" />
      <fixedString value="InvestigationDetails_InvestigationInformation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_clientHomeAddressInitialInvestigation" />
      <short value="invDetInvInfo_clientHomeAddressInitialInvestigation" />
      <definition value="invDetInvInfo_clientHomeAddressInitialInvestigation&#xD;&#xA;To be derived by API service based on current address of investigation; HAs do not send this info." />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;296" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;298" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_status" />
      <short value="invDetInvInfo_status" />
      <definition value="invDetInvInfo_status" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;313" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;313" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetInvInfo_statusDate" />
      <short value="invDetInvInfo_statusDate" />
      <definition value="invDetInvInfo_statusDate" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;313.1" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;313.1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetDiseaseSum_investigationDiagnosisComment" />
      <short value="invDetDiseaseSum_investigationDiagnosisComment" />
      <definition value="invDetDiseaseSum_investigationDiagnosisComment" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;194.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;194.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_RespOrganizationInvestigator" />
      <short value="1.3.3. InvestigationDetails_RespOrganizationInvestigator" />
      <definition value="1.3.3. InvestigationDetails_RespOrganizationInvestigator" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.id">
      <path value="QuestionnaireResponse.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkID InvestigationDetails_RespOrganizationInvestigator" />
      <definition value="linkID InvestigationDetails_RespOrganizationInvestigator" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="invDetRespOrgInv_responsibleOrganization" />
      <definition value="invDetRespOrgInv_responsibleOrganization" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganization" />
      <short value="invDetRespOrgInv_responsibleOrganization" />
      <definition value="invDetRespOrgInv_responsibleOrganization" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganization" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganization" />
      <fixedString value="invDetRespOrgInv_responsibleOrganization" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <short value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <definition value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <comment value="CD_Mandate_Dataset_Specs Data Element ID: &#xD;&#xA;99.3" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganizationWorkgroup" />
      <fixedString value="invDetRespOrgInv_responsibleOrganizationWorkgroup" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].id">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].system">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].system" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].version">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].version" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].userSelected">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_responsibleOrganizationDate" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_responsibleOrganizationDate" />
      <definition value="linkID invDetRespOrgInv_responsibleOrganizationDate" />
      <fixedString value="invDetRespOrgInv_responsibleOrganizationDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;99.4" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorOrganization" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorOrganization" />
      <definition value="linkID invDetRespOrgInv_investigatorOrganization" />
      <fixedString value="invDetRespOrgInv_investigatorOrganization" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer">
      <path value="QuestionnaireResponse.item.item.item.item.answer" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.5" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorWorkgroup" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorWorkgroup" />
      <definition value="linkId invDetRespOrgInv_investigatorWorkgroup" />
      <fixedString value="invDetRespOrgInv_investigatorWorkgroup" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.6" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_investigatorAssignedDate" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_investigatorAssignedDate" />
      <definition value="linkID invDetRespOrgInv_investigatorAssignedDate" />
      <fixedString value="invDetRespOrgInv_investigatorAssignedDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.7" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRespOrgInv_recordType" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkID invDetRespOrgInv_recordType" />
      <definition value="linkID invDetRespOrgInv_recordType" />
      <fixedString value="invDetRespOrgInv_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;99.8" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_ReportingNotifications" />
      <short value="1.3.4 InvestigationDetails_ReportingNotifications" />
      <definition value="1.3.4 InvestigationDetails_ReportingNotifications" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkID InvestigationDetails_ReportingNotifications" />
      <definition value="linkID InvestigationDetails_ReportingNotifications" />
      <fixedString value="InvestigationDetails_ReportingNotifications" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.definition">
      <path value="QuestionnaireResponse.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.text">
      <path value="QuestionnaireResponse.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.subject">
      <path value="QuestionnaireResponse.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer">
      <path value="QuestionnaireResponse.item.item.item.answer" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_reportingSentDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.id">
      <path value="QuestionnaireResponse.item.item.item.item.id" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_reportingSentDate" />
      <definition value="linkId invDetRepNotif_reportingSentDate" />
      <fixedString value="invDetRepNotif_reportingSentDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.definition">
      <path value="QuestionnaireResponse.item.item.item.item.definition" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.text">
      <path value="QuestionnaireResponse.item.item.item.item.text" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.subject">
      <path value="QuestionnaireResponse.item.item.item.item.subject" />
      <max value="0" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.4" />
      <min value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_reportingReceivedDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_reportingReceivedDate" />
      <definition value="linkId invDetRepNotif_reportingReceivedDate" />
      <fixedString value="invDetRepNotif_reportingReceivedDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104" />
      <min value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_provider" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_provider" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided&#xD;&#xA;linkId invDetRepNotif_provider" />
      <fixedString value="invDetRepNotif_provider" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].reference" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:  &#xD;&#xA;To be referenced for Reporting Provider" />
      <fixedString value="Practitioner" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerFacility" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkIdinvDetRepNotif_providerFacility" />
      <definition value="linkId invDetRepNotif_providerFacility" />
      <fixedString value="invDetRepNotif_providerFacility" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:  178" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerReportingSourceLocation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_providerReportingSourceLocation" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided&#xD;&#xA;linkId invDetRepNotif_providerReportingSourceOther" />
      <fixedString value="invDetRepNotif_providerReportingSourceLocation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <definition value="CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerReportingSourceOther" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_providerReportingSourceOther" />
      <definition value="linkId invDetRepNotif_providerReportingSourceOther" />
      <fixedString value="invDetRepNotif_providerReportingSourceOther" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;104.3" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_providerStreetAddress" />
      <short value="invDetRepNotif_providerStreetAddress" />
      <definition value="invDetRepNotif_providerStreetAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="invDetRepNotif_providerStreetAddress" />
      <definition value="invDetRepNotif_providerStreetAddress" />
      <fixedString value="invDetRepNotif_providerStreetAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;178.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="invDetRepNotif_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId invDetRepNotif_recordType" />
      <definition value="linkId invDetRepNotif_recordType" />
      <fixedString value="invDetRepNotif_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;167.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="InvestigationDetails_UDF" />
      <short value="1.3.5 InvestigationDetails_UDF" />
      <definition value="1.3.5 InvestigationDetails_UDF" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId InvestigationDetails_UDF" />
      <definition value="linkId InvestigationDetails_UDF" />
      <fixedString value="InvestigationDetails_UDF" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="UDF_snomedCodeOfDisease1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId UDF_snomedCodeOfDisease1" />
      <definition value="UDF_snomedCodeOfDisease1&#xD;&#xA;e.g. UDF_397428000 for Diphtheria" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword1Disease1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword1Disease1" />
      <definition value="linkId UDF_questionKeyword1Disease1&#xD;&#xA;e.g. UDF_admission_date" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword2Disease1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword2Disease1" />
      <definition value="linkId UDF_questionKeyword2Disease1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="UDF_snomedcodeOfDisease2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="linkId UDF_snomedcodeOfDisease2" />
      <definition value="linkID UDF_snomedcodeOfDisease2&#xD;&#xA;e.g. UDF_56717001 for Tuberculosis" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword1Disease2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword1Disease2" />
      <definition value="linkId UDF_questionKeyword1Disease2&#xD;&#xA;e.g. UDF_admitted_to_hospital" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="UDF_questionKeyword2Disease2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="linkId UDF_questionKeyword2Disease2" />
      <definition value="linkId UDF_questionKeyword2Disease2&#xD;&#xA;e.g. UDF_name_of_hospital_for_admission" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="LAB" />
      <short value="1.4 LAB" />
      <definition value="1.4 LAB" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkId LAB" />
      <definition value="linkId LAB" />
      <fixedString value="LAB" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="lab_diagnosticReport" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId lab_idagnosticReport" />
      <definition value="linkId lab_idagnosticReport" />
      <fixedString value="lab_idagnosticReport" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].reference" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;To be referenced for Lab Test and Result" />
      <fixedString value="DiagnosticReport" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="lab_phReceivedDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId lab_phReceivedDate" />
      <definition value="linkId lab_phReceivedDate" />
      <fixedString value="lab_phReceivedDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;294" />
      <min value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="labRpt_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId labRpt_recordType" />
      <definition value="linkId labRpt_recordType" />
      <fixedString value="labRpt_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <definition value="CM: Mandatory if data element (30.1) Lab Result Name provided" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;14.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="SIGNS_SYMPTOMS" />
      <short value="1.5 SIGNS_SYMPTOMS" />
      <definition value="1.5 SIGNS_SYMPTOMS" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="linkID SIGNS_SYMPTOMS" />
      <definition value="linkId SIGNS_SYMPTOMS" />
      <fixedString value="SIGNS_SYMPTOMS" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_onsetFlag" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="linkId signSymp_onsetFlag" />
      <fixedString value="signSymp_onsetFlag" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;48" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_onsetDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="linkId signSymp_onsetDate" />
      <definition value="CM: Mandatory if data element (48) Onset Flag=&quot;y&quot;&#xD;&#xA;linkId signSymp_onsetDate" />
      <fixedString value="signSymp_onsetDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recoveryTime" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="signSymp_recoveryTime" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recoveryTimeEstimatedIndicator" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="signSymp_recoveryTimeEstimatedIndicator" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.2" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_duration" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="signSymp_duration" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;49.3" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_signsSymptoms" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="signSymp_signsSymptoms" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_symptomID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandaotyr if data element (56) Sign Symptoms provided&#xD;&#xA;signSymp_symptomID" />
      <fixedString value="signSymp_symptomID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_dateOnsetEstimatedIndicator" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="signSymp_dateOnsetEstimatedIndicator" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;258" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_otherSignsSymptoms" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandaotyr if data element (56) Sign Symptoms =&quot;Other&quot;&#xD;&#xA;linkId signSymp_otherSignsSymptoms" />
      <fixedString value="signSymp_otherSignsSymptoms" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;259" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_signsSymptomsResponse" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatoryf data element (56) provided" />
      <fixedString value="signSymp_signsSymptomsResponse" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;260" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="signSymp_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandaotyr if data element (56) Signs Symptoms provided" />
      <fixedString value="signSymp_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;56.2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="COMPLICATIONS" />
      <short value="1.6 COMPLICATIONS" />
      <definition value="1.6 COMPLICATIONS" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <fixedString value="COMPLICATIONS" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complication" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="cmpl_complication" />
      <definition value="cmpl_complication" />
      <fixedString value="cmpl_complication" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complicationDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="cmpl_complicationDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_reportedBy" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="cmpl_reportedBy" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.2" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_response" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <fixedString value="cmpl_response" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.3" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_otherComplication" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (296) Complication=&quot;Other&quot;" />
      <fixedString value="cmpl_otherComplication" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.4" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_encounterID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Other Complication" />
      <definition value="CM: Mandatory if data element (296) Compliation provided &#xD;&#xA;Other Complication" />
      <fixedString value="cmpl_encounterID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.5" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_complicationID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Complication ID" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <fixedString value="cmpl_complicationID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.7" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="cmpl_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="cmpl_recordType" />
      <definition value="CM: Mandatory if data element (296) Complication provided" />
      <fixedString value="cmpl_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;296.6" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="OUTCOMES" />
      <short value="1.7 OUTCOMES" />
      <definition value="1.7 OUTCOMES" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <fixedString value="OUTCOMES" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Outcome Date" />
      <definition value="CM: Mandatory if data element (155) Outcome =&quot;Fatal&quot;" />
      <fixedString value="outC_outcomeDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;149" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_specifyOutcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if 155) Outcome =&quot;Other&quot;" />
      <fixedString value="outC_specifyOutcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;153" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeCauseOfDeath" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (155) Outcome = &quot;Fatal&quot;" />
      <fixedString value="outC_outcomeCauseOfDeath" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_causeOfDeathComments" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Cause of Death Comments" />
      <definition value="Cause of Death Comments" />
      <fixedString value="outC_causeOfDeathComments" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154.2" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_causeOfDeathOtherText" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Cause of Death - Other text" />
      <definition value="CM: Mandatory if data element (154) Outcome - Cause of Death is provided" />
      <fixedString value="outC_causeOfDeathOtherText" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;154.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcomeComments" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="Outcome Comments" />
      <definition value="Outcome Comments" />
      <fixedString value="outC_outcomeComments" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_outcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="Outcome" />
      <fixedString value="outC_outcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="outC_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (155) Outcome provided&#xD;&#xA;Record Type - Outcome" />
      <fixedString value="outC_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;155.2" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="INTERVENTIONS" />
      <short value="1.8 INTERVENTIONS" />
      <definition value="1.8 INTERVENTIONS" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <fixedString value="INTERVENTIONS" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="Intervention Type" />
      <fixedString value="intrvnt_interventionType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionSubtype" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided&#xD;&#xA;Intervention SubType" />
      <fixedString value="intrvnt_interventionSubtype" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionDisposition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="intrvnt_interventionDisposition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.6" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_startDateOfIntervention" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided&#xD;&#xA;Start Date of Intervention" />
      <fixedString value="intrvnt_startDateOfIntervention" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.2" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_endDateOfIntervention" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="intrvnt_endDateOfIntervention" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.3" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_organization" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <fixedString value="intrvnt_organization" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_serviceDeliveryLocation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <fixedString value="intrvnt_serviceDeliveryLocation" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionOutcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <fixedString value="intrvnt_interventionOutcome" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;74.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_details" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="intrvnt_details" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;75" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_interventionID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <fixedString value="intrvnt_interventionID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.8" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="intrvnt_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <definition value="CM: Mandatory if data element (73) Intervention Type provided" />
      <fixedString value="intrvnt_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;73.7" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="EXPOSURE_SUMMARY" />
      <short value="1.9 EXPOSURE_SUMMARY" />
      <definition value="1.9 EXPOSURE_SUMMARY" />
      <max value="1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="expoSum_TE" />
      <short value="1.9.1 expoSum_TE" />
      <definition value="1.9.1 expoSum_TE" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_linkID" />
      <short value="1.9.1.1 expoSumTE_linkID" />
      <definition value="1.9.1.1 expoSumTE_linkID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="TE Link ID (TE)" />
      <definition value="Mandatory to create Acquisition Event" />
      <fixedString value="expoSumTE_linkID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.2" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_id" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="TE ID (TE)" />
      <definition value="Mandatory to create Transmission Event" />
      <fixedString value="expoSumTE_id" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.3" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureName" />
      <short value="expoSumTE_exposureName" />
      <definition value="expoSumTE_exposureName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Exposure Name (TE)" />
      <definition value="Mandatory to create Tranmission Event" />
      <fixedString value="expoSumTE_exposureName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_transmissionStartDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_transmissionStartDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureLocationNameAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_exposureLocationNameAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;187" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_modeOfTransmission" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_modeOfTransmission" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;305" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_natureOfTransmission" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_natureOfTransmission" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;305.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_exposureSetting" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_exposureSetting" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;186" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;185.4" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumTE_Contact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumTE_Contact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_anonymousContact" />
      <short value="1.9.1.10.1 expoSumTEContact_anonymousContact" />
      <definition value="1.9.1.10.1 expoSumTEContact_anonymousContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="Anonymous Contacts" />
      <definition value="Anonymous Contacts" />
      <fixedString value="expoSumTEContact_anonymousContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;304" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_anonymousContactDetails" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_anonymousContactDetails" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;304.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_RpGp58" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <short value="1.9.1.10.3 expoSumTEContact_RpGp58" />
      <definition value="1.9.1.10.3 expoSumTEContact_RpGp58&#xD;&#xA;Repeating Group #58" />
      <fixedString value="expoSumTEContact_RpGp#58" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_indeterminateContactClientInd" />
      <short value="1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd" />
      <definition value="1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Indeterminate Contact Client Indicator" />
      <definition value="CM: Mandatory for contact record to be created.  Defaults to &quot;N&quot;.&#xD;&#xA;Indeterminate Contact Client Indicator" />
      <fixedString value="expoSumTEContact_indeterminateContactClientInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.4" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactTEID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactTEID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.6" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_lastNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_lastNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_firstNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_firstNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_doBContact" />
      <short value="expoSumTEContact_doBContact" />
      <definition value="expoSumTEContact_doBContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="DoB (Contact TE)" />
      <definition value="DoB (Contact TE)" />
      <fixedString value="expoSumTEContact_doBContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <short value="DoB (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.2" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_genderContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="expoSumTEContact_genderContact" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <fixedString value="expoSumTEContact_genderContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_healthRegionInfoContact" />
      <short value="expoSumTEContact_healthRegionInfoContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Health Region Information (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless 299.4=&quot;Y&quot;" />
      <fixedString value="expoSumTEContact_healthRegionInfoContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <short value="Health Region Information (Contact TE)" />
      <definition value="CM: Mandatory for contact record to be created unless data element 299.4=&quot;Y&quot;" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;300" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_typeOfContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="expoSumTEContact_typeOfContact" />
      <definition value="Type of Contact (Contact TE)" />
      <fixedString value="expoSumTEContact_typeOfContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;131" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_earliestContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Earliest Contact (Contact TE)" />
      <definition value="Earliest Contact (Contact TE)" />
      <fixedString value="expoSumTEContact_earliestContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;132" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_mostRecentContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Most Recent Contact (Contact TE)" />
      <definition value="Most Recent Contact (Contact TE)" />
      <fixedString value="expoSumTEContact_mostRecentContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;133" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_otherDetailsContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <short value="Other Details (Contact TE)" />
      <definition value="Other Details (Contact TE)" />
      <fixedString value="expoSumTEContact_otherDetailsContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;134" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContactRpGp58__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContactRpGp58__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;299.5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_RpGp3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_RpGp#3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_postExpProphylaxisMMR_OutOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_postExpProphylaxisMMR_OutOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_mmrDate_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_mmrDate_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_igCC_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_igCC_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.2" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_igDate_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_igDate_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.3" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_postExpoProphylaxisIG_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_postExpoProphylaxisIG_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.4" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactName_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactName_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_unknownContactID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_unknownContactID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.4" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_disposition_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_disposition_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.1" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_dispositionDetails_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_dispositionDetails_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.2" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDetails_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactDetails_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;288" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactInfos_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactInfos_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;289" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_susceptibliity_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_susceptibliity_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;135" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDateEarliest_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactDateEarliest_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.5" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContact_contactDateMostRecent_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContact_contactDateMostRecent_outOfBC" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;136.6" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item.item" />
      <sliceName value="expoSumTEContactRpGp3__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.linkId" />
      <fixedString value="expoSumTEContactRpGp3__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID:&#xD;&#xA;287.3" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="expoSum_AE" />
      <short value="1.9.2 expoSum_AE" />
      <definition value="1.9.2 expoSum_AE" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <fixedString value="expoSum_AE" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_linkID" />
      <short value="1.9.2.1 expoSumAE_linkID" />
      <definition value="1.9.2.1 expoSumAE_linkID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="AE Link ID (AE)" />
      <definition value="CM: Mandatory to link Transmission Event" />
      <fixedString value="expoSumAE_linkID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <definition value="CM: Mandatory to link Transmission Event" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.2" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_id" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <fixedString value="expoSumAE_id" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.3" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <fixedString value="expoSumAE_exposureName" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_acquisitionStartDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <fixedString value="expoSumAE_acquisitionStartDate" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureLocationNameAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_exposureLocationNameAddress" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;303" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_modeOfAcquisition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_modeOfAcquisition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.5" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_natureOfAcquisition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_natureOfAcquisition" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.6" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_exposureSetting" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_exposureSetting" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;302" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <definition value="CM: Mandatory to create Acquisition Event" />
      <fixedString value="expoSumAE__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;301.4" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7">
      <path value="QuestionnaireResponse.item.item.item.item" />
      <sliceName value="expoSumAE_RpGp7" />
      <short value="1.9.2.10 expoSumAE_RpGp7" />
      <definition value="1.9.2.10 expoSumAE_RpGp7" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.linkId" />
      <short value="Repeating Group 7" />
      <definition value="Repeating Group 7" />
      <fixedString value="expoSumAE_RpGp7" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_indeterminateContactClientInd" />
      <short value="1.9.2.10.1 expoSumAE_indeterminateContactClientInd" />
      <definition value="1.9.2.10.1 expoSumAE_indeterminateContactClientInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_indeterminateContactClientInd" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.4" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_lastNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <definition value="CM: Mandatory for contact record to be created" />
      <fixedString value="expoSumAE_lastNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_firstNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <definition value="CM: Mandatory for contact record to be created" />
      <fixedString value="expoSumAE_firstNameContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_dobContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <fixedString value="expoSumAE_dobContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.2" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_genderContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <fixedString value="expoSumAE_genderContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.3" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_healthRegionInfoContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <definition value="CM: Mandatory for contact record to be created unless data element 307.4=&quot;Y&quot;" />
      <fixedString value="expoSumAE_healthRegionInfoContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;308" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_typeOfContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_typeOfContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;309" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_earliestContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_earliestContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_mostRecentContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_mostRecentContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;311" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_otherDetailsContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_otherDetailsContact" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;312" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAE_contactAEID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAE_contactAEID" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.6" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType">
      <path value="QuestionnaireResponse.item.item.item.item.item" />
      <sliceName value="expoSumAERpGp7__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.item.item.linkId" />
      <fixedString value="expoSumAERpGp7__recordType" />
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.item.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;307.5" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="SUBJECT" />
      <short value="2.0 SUBJECT" />
      <definition value="2.0 SUBJECT" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="SUBJECT" />
      <definition value="SUBJECT" />
      <fixedString value="SUBJECT" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.text">
      <path value="QuestionnaireResponse.item.text" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;310" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="SUBJECT_RISK_FACTORS" />
      <short value="2.1 SUBJECT_RISK_FACTORS" />
      <definition value="2.1 SUBJECT_RISK_FACTORS" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <fixedString value="SUBJECT_RISK_FACTORS" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item">
      <path value="QuestionnaireResponse.item.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="subjRiskFactors_riskFActors" />
      <short value="2.1.1 subjRiskFactors_riskFActors" />
      <definition value="2.1.1 subjRiskFactors_riskFActors" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="2.1.1 subjRiskFactors_riskFactors" />
      <definition value="2.1.1 subjRiskFactors_riskFactors" />
      <fixedString value="subjRiskFactors_riskFactors" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <short value="Risk Factors" />
      <definition value="Risk Factors" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;To be referenced for Risk Factors" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].reference">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x].reference" />
      <short value="riskAssessment" />
      <definition value="riskAssessment" />
      <fixedString value="riskAssessment" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType">
      <path value="QuestionnaireResponse.item.item.item" />
      <sliceName value="subjRiskFactors_recordType" />
      <short value="2.1.2 subjRiskFactors_recordType" />
      <definition value="2.1.2 subjRiskFactors_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.linkId">
      <path value="QuestionnaireResponse.item.item.item.linkId" />
      <short value="subjRiskFactors_recordType" />
      <definition value="subjRiskFactors_recordType" />
      <fixedString value="subjRiskFactors_recordType" />
    </element>
    <element id="QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;38.5" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES">
      <path value="QuestionnaireResponse.item" />
      <sliceName value="NOTES" />
      <short value="3.0 NOTES" />
      <definition value="3.0 NOTES" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.linkId">
      <path value="QuestionnaireResponse.item.linkId" />
      <short value="3.0 NOTES" />
      <definition value="3.0 NOTES" />
      <fixedString value="NOTES" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item">
      <path value="QuestionnaireResponse.item.item" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="linkId" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_text" />
      <short value="3.1 notes_text" />
      <definition value="3.1 notes_text" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="3.1 notes_text" />
      <definition value="3.1 notes_text" />
      <fixedString value="notes_text" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_text.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_id" />
      <short value="3.2 notes_id" />
      <definition value="3.2 notes_id" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <short value="notes_id" />
      <definition value="notes_id" />
      <fixedString value="notes_id" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_id.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.2" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_context" />
      <short value="3.3 notes_context" />
      <definition value="3.3 notes_context" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <definition value="CM: Mandatory if data element (314) Note Text provided" />
      <fixedString value="notes_context" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.3" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_subjectLine" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <definition value="CM: Mandatory if data element 314 (Note Text) provided" />
      <fixedString value="notes_subjectLine" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.4" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_status" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <definition value="CM: Mandatory if data element (314) Note Text provided" />
      <fixedString value="notes_status" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.5" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_date" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <definition value="CM: Mandatory if data element (314) Note Text provided&#xD;&#xA;Note Date: yyyy-mm-ddThh:mm:000000[Z|(+|-)hh:mm" />
      <fixedString value="notes_date" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_date.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.6" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type">
      <path value="QuestionnaireResponse.item.item" />
      <sliceName value="notes_type" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.linkId">
      <path value="QuestionnaireResponse.item.item.linkId" />
      <definition value="CM: Mandatory if data element (314.7) Note Text provided" />
      <fixedString value="notes_type" />
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x]">
      <path value="QuestionnaireResponse.item.item.answer.value[x]" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].code">
      <path value="QuestionnaireResponse.item.item.answer.value[x].code" />
      <comment value="CD_Mandate_Dataset_Specifications Data Element ID: &#xD;&#xA;314.7" />
    </element>
  </differential>
</StructureDefinition>