<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark354" />
  <meta>
    <versionId value="spark354" />
    <lastUpdated value="2015-10-02T12:24:50.869+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/questionnaire-deReference" />
  <name value="Implemented CDE" />
  <status value="draft" />
  <date value="2013-07-04" />
  <publisher value="HL7" />
  <contact>
    <telecom>
      <system value="other" />
      <value value="http://www.hl7.org" />
    </telecom>
  </contact>
  <description value="A reference to the Data Element that corresponds to the question text and answer constraints for this question." />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Questionnaire.group.question" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <short value="Implemented CDE" />
      <definition value="A reference to the Data Element that corresponds to the question text and answer constraints for this question." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]" />
      </mapping>
      <comments value="If a code applies to a question, that code should still be conveyed on the question, even if the same code is also referenced as a DataElement.code in the referenced data element.  This extension must not be used in place of specifying the Questionnaire.group.question.concept element." />
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="Implemented CDE" />
      <definition value="A reference to the Data Element that corresponds to the question text and answer constraints for this question." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]" />
      </mapping>
      <comments value="If a code applies to a question, that code should still be conveyed on the question, even if the same code is also referenced as a DataElement.code in the referenced data element.  This extension must not be used in place of specifying the Questionnaire.group.question.concept element." />
    </element>
    <element>
      <path value="Extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/questionnaire-deReference" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/DataElement" />
      </type>
    </element>
  </differential>
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>