<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark1705" />
  <meta>
    <versionId value="spark2110" />
    <lastUpdated value="2015-12-18T18:02:44.161+00:00" />
  </meta>
  <url value="http://premierinc.com/fhir/Extns/StructureDefinition/middle" />
  <version value="TWTW10" />
  <name value="middle" />
  <display value="middle" />
  <status value="draft" />
  <date value="2015-09-22T20:02:49+10:00" />
  <description value="Base StructureDefinition for Extension Type" />
  <requirements value="The ability to add extensions in a structured way is what keeps FHIR resources simple." />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <kind value="datatype" />
  <constrainedType value="Extension" />
  <abstract value="false" />
  <contextType value="datatype" />
  <context value="string" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <differential>
    <element>
      <path value="Extension" />
      <definition value="Optional Extensions Element - found in all resources." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.url" />
      <representation value="xmlAttr" />
      <short value="identifies the meaning of the extension" />
      <definition value="Source of the definition for the extension code - a logical name or a URL." />
      <comments value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://premierinc.com/fhir/Extns/StructureDefinition/middle" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.value[x]" />
      <name value="value" />
      <short value="Value of extension" />
      <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>