<StructureDefinition xmlns="http://hl7.org/fhir">
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="https://purl.org/elab/fhir/StructureDefinition/ResourceGenerator" />
  <name value="ResourceGenerator" />
  <status value="draft" />
  <date value="2017-06-19T15:16:56.7540294+01:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element>
      <path value="Basic.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Basic.extension:label">
      <path value="Basic.extension" />
      <sliceName value="label" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Label" />
      </type>
    </element>
    <element id="Basic.extension:datatype">
      <path value="Basic.extension" />
      <sliceName value="datatype" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Datatype" />
      </type>
    </element>
    <element id="Basic.extension:value">
      <path value="Basic.extension" />
      <sliceName value="value" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Value" />
      </type>
    </element>
    <element id="Basic.extension:system">
      <path value="Basic.extension" />
      <sliceName value="system" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/System" />
      </type>
    </element>
    <element id="Basic.extension:xpath">
      <path value="Basic.extension" />
      <sliceName value="xpath" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Xpath" />
      </type>
    </element>
    <element id="Basic.extension:type">
      <path value="Basic.extension" />
      <sliceName value="type" />
      <short value="Optional Extensions Element" />
      <definition value="Optional Extension Element - found in all resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Type" />
      </type>
    </element>
    <element id="Basic.extension:annotation">
      <path value="Basic.extension" />
      <sliceName value="annotation" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/AnnotationRef" />
      </type>
    </element>
  </differential>
</StructureDefinition>