<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="de-ElementDefinition.code" />
  <meta>
    <lastUpdated value="2019-02-10T00:11:08.953+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/de-ElementDefinition.code" />
  <version value="4.0.0" />
  <name value="ElementDefinition.code" />
  <title value="ElementDefinition.code" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2019-02-10T00:11:08+00:00" />
  <publisher value="HL7 FHIR Standard" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <description value="Data Element for ElementDefinition.code" />
  <purpose value="Data Elements are defined for each element to assist in questionnaire construction etc" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="iso11179" />
    <uri value="http://metadata-standards.org/11179/" />
    <name value="ISO 11179" />
  </mapping>
  <mapping>
    <identity value="dex" />
    <uri value="http://ihe.net/data-element-exchange" />
    <name value="IHE Data Element Exchange (DEX)" />
  </mapping>
  <mapping>
    <identity value="loinc" />
    <uri value="http://loinc.org" />
    <name value="LOINC code for the element" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="ElementDefinition.code" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="ElementDefinition.code">
      <path value="ElementDefinition.code" />
      <short value="Corresponding codes in terminologies" />
      <definition value="A code that has the same meaning as the element in a particular terminology." />
      <comment value="The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here.  Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system." />
      <requirements value="Links the meaning of an element to an external terminology, and is very useful for searching and indexing." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ElementDefinition.code" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ElementDefinitionCode" />
        </extension>
        <strength value="example" />
        <description value="Codes that indicate the meaning of a data element." />
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="OM1.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code (root or translation)" />
      </mapping>
      <mapping>
        <identity value="iso11179" />
        <map value="(Data_Element).data_element_concept.identifier" />
      </mapping>
      <mapping>
        <identity value="loinc" />
        <map value="LOINC_NUM" />
      </mapping>
    </element>
  </snapshot>
</StructureDefinition>