<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pl-lab-zrodlo" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-zrodlo" />
  <name value="Zrodlo" />
  <title value="Źródło wartości referencyjnych" />
  <status value="draft" />
  <description value="Źródło wartości referencyjnych" />
  <fhirVersion value="5.0.0" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-zrodlo" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" />
  <derivation value="specialization" />
  <snapshot>
    <element id="pl-lab-zrodlo">
      <path value="pl-lab-zrodlo" />
      <short value="Źródło wartości referencyjnych" />
      <definition value="Źródło wartości referencyjnych" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="pl-lab-zrodlo" />
        <min value="0" />
        <max value="*" />
      </base>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="pl-lab-zrodlo.opis">
      <path value="pl-lab-zrodlo.opis" />
      <short value="Opis źródła" />
      <definition value="Opis źródła wartości referencyjnych" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="pl-lab-zrodlo.opis" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="pl-lab-zrodlo.link">
      <path value="pl-lab-zrodlo.link" />
      <short value="Link do źródła" />
      <definition value="Link do źródła wartości referencyjnych" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="pl-lab-zrodlo.link" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="pl-lab-zrodlo">
      <path value="pl-lab-zrodlo" />
      <short value="Źródło wartości referencyjnych" />
      <definition value="Źródło wartości referencyjnych" />
    </element>
    <element id="pl-lab-zrodlo.opis">
      <path value="pl-lab-zrodlo.opis" />
      <short value="Opis źródła" />
      <definition value="Opis źródła wartości referencyjnych" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="pl-lab-zrodlo.link">
      <path value="pl-lab-zrodlo.link" />
      <short value="Link do źródła" />
      <definition value="Link do źródła wartości referencyjnych" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
  </differential>
</StructureDefinition>