<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pl-lab-laboratorium" />
  <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-laboratorium" />
  <name value="Laboratorium" />
  <title value="Laboratorium" />
  <status value="draft" />
  <description value="Laboratorium" />
  <fhirVersion value="5.0.0" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-laboratorium" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" />
  <derivation value="specialization" />
  <differential>
    <element id="pl-lab-laboratorium">
      <path value="pl-lab-laboratorium" />
      <short value="Laboratorium" />
      <definition value="Laboratorium" />
    </element>
    <element id="pl-lab-laboratorium.identyfikator">
      <path value="pl-lab-laboratorium.identyfikator" />
      <short value="Identyfikator laboratorium" />
      <definition value="Identyfikator laboratorium" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="pl-lab-laboratorium.rodzajPracowni">
      <path value="pl-lab-laboratorium.rodzajPracowni" />
      <short value="Rodzaj pracowni" />
      <definition value="Rodzaj pracowni laboratoryjnej" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org.pl/fhir/ig/pl-lab/ValueSet/pl-lab-serviceProviderType-VS" />
      </binding>
    </element>
    <element id="pl-lab-laboratorium.nazwa">
      <path value="pl-lab-laboratorium.nazwa" />
      <short value="Nazwa laboratorium" />
      <definition value="Nazwa laboratorium" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="pl-lab-laboratorium.adres">
      <path value="pl-lab-laboratorium.adres" />
      <short value="Adres laboratorium" />
      <definition value="Adres laboratorium" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
      </type>
    </element>
    <element id="pl-lab-laboratorium.telefon">
      <path value="pl-lab-laboratorium.telefon" />
      <short value="Telefon laboratorium" />
      <definition value="Telefon laboratorium" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="pl-lab-laboratorium.email">
      <path value="pl-lab-laboratorium.email" />
      <short value="Email laboratorium" />
      <definition value="Email laboratorium" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="pl-lab-laboratorium.podmiotZarzadzajacy">
      <path value="pl-lab-laboratorium.podmiotZarzadzajacy" />
      <short value="Podmiot zarządzający" />
      <definition value="Podmiot zarządzający laboratorium" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-podmiotDiagnostyczny" />
      </type>
    </element>
  </differential>
</StructureDefinition>