<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://example.org/fhir/StructureDefinition/MyOrganization29" />
  <name value="MyOrganization_v29" />
  <status value="draft" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization.identifier">
      <path value="Organization.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="value" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.identifier:JAR">
      <path value="Organization.identifier" />
      <sliceName value="JAR" />
      <definition value="Identifier for the organization that is used to identify the organization across multiple disparate systems. //Sveikatinimo įstaigos kodas (JAR) / Registration Code" />
      <max value="1" />
    </element>
    <element id="Organization.identifier:JAR.system">
      <path value="Organization.identifier.system" />
      <fixedUri value="http://esveikata.lt/Identifier/JAR" />
      <example>
        <label value="code" />
        <valueUri value="135163499" />
      </example>
    </element>
    <element id="Organization.identifier:SVEIDRAID">
      <path value="Organization.identifier" />
      <sliceName value="SVEIDRAID" />
      <definition value="Identifier for the organization that is used to identify the organization across multiple disparate systems.// Sveikatos priežiūros organizacinio vieneto (įstaigos, jos filialo, skyriaus, filialo skyriaus ir pan.) kodas SVEIDRA IS sistemoje / SVEIDRA ID issued by National health insurance fund" />
      <max value="1" />
    </element>
    <element id="Organization.identifier:SVEIDRAID.system">
      <path value="Organization.identifier.system" />
      <fixedUri value="http://esveikata.lt/Identifier/SVEIDRAID" />
      <example>
        <label value="id" />
        <valueUri value="699" />
      </example>
    </element>
    <element id="Organization.active">
      <path value="Organization.active" />
      <definition value="Whether the organization's record is still in active use. // Nurodo ar įstaiga yra aktyvi ir gali būti naudojama. Jei laukas nenurodytas įstaiga yra aktyvi. / Whether the organization's record is still in active use. Default value is true if not specified" />
    </element>
    <element id="Organization.type">
      <path value="Organization.type" />
      <definition value="The kind(s) of organization that this is. // Organizacijos tipas: pagrindinis sveikatos priežiūros paslaugų teikėjas (visa ligoninė) arba jos skyrius / Type of organization: main Healthcare Provider (whole Hospital) or its department" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Organization.type.coding.system">
      <path value="Organization.type.coding.system" />
      <fixedUri value="http://hl7.org/fhir/organization-type" />
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <definition value="A name associated with the organization. //Sveikatos priežiūros įstaigos pavadinimas / HCP name" />
      <example>
        <label value="name" />
        <valueString value="Hospital of Lithuanian University of Health Sciences Kaunas Clinics" />
      </example>
    </element>
    <element id="Organization.contact.telecom">
      <path value="Organization.contact.telecom" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="value" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.contact.telecom:Telephone">
      <path value="Organization.contact.telecom" />
      <sliceName value="Telephone" />
      <definition value="The contact details application for the purpose defined. // Sveikatinimo įstaigos telefono numeris / HCP telephone number" />
      <max value="1" />
    </element>
    <element id="Organization.contact.telecom:Telephone.value">
      <path value="Organization.contact.telecom.value" />
      <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).// Sveikatinimo įstaigos telefono numeris / HCP telephone number" />
      <example>
        <label value="phone" />
        <valueString value="+37067800000" />
      </example>
    </element>
    <element id="Organization.contact.telecom:Telephone.use">
      <path value="Organization.contact.telecom.use" />
      <max value="0" />
    </element>
    <element id="Organization.contact.telecom:Telephone.rank">
      <path value="Organization.contact.telecom.rank" />
      <max value="0" />
    </element>
    <element id="Organization.contact.telecom:Telephone.period">
      <path value="Organization.contact.telecom.period" />
      <max value="0" />
    </element>
    <element id="Organization.contact.telecom:Email">
      <path value="Organization.contact.telecom" />
      <sliceName value="Email" />
      <definition value="The contact details application for the purpose defined.//Sveikatinimo įstaigos el. pašto adresas / HCP email" />
      <max value="1" />
    </element>
    <element id="Organization.contact.telecom:Email.value">
      <path value="Organization.contact.telecom.value" />
      <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).// Sveikatinimo įstaigos el. pašto adresas / HCP email" />
      <example>
        <label value="email" />
        <valueString value="organization@domain.lt" />
      </example>
    </element>
    <element id="Organization.contact.address.extension:addressIdentifier">
      <path value="Organization.contact.address.extension" />
      <sliceName value="addressIdentifier" />
      <type>
        <code value="Extension" />
        <profile value="https://example1.org/fhir/StructureDefinition/MyExtension" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Organization.partOf">
      <path value="Organization.partOf" />
      <definition value="The organization of which this organization forms a part. // Tuo atveju jei ligoninės skyrius, nuoroda į tėvinį skyrių ar sveikatinimo organizaciją / In case of department, reference to parent department or health organization" />
    </element>
  </differential>
</StructureDefinition>