<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="GEM-ERPEU-PR-Organization" />
  <url value="https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Organization" />
  <version value="1.1.2" />
  <name value="GEM_ERPEU_PR_Organization" />
  <title value="Organization Information Received from the EU" />
  <status value="active" />
  <date value="2026-02-09" />
  <description value="This Organization Profile is sent by the NCPeH when redeeming a Prescription in the EU" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="https://gematik.de/fhir/ti/StructureDefinition/ti-organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization.meta">
      <path value="Organization.meta" />
      <min value="1" />
    </element>
    <element id="Organization.meta.profile">
      <path value="Organization.meta.profile" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <description value="Slicing for meta profile" />
        <ordered value="false" />
        <rules value="closed" />
      </slicing>
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.meta.profile:workflowEUProfile">
      <path value="Organization.meta.profile" />
      <sliceName value="workflowEUProfile" />
      <min value="1" />
      <max value="1" />
      <fixedCanonical value="https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Organization|1.1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier">
      <path value="Organization.identifier" />
      <short value="Organization Identifier" />
      <definition value="An identifier for the organization" />
      <comment value="There are not yet specific identifier systems defined. Therefore the field system is optional, but has to be used if there is a known identifier system." />
      <min value="1" />
    </element>
    <element id="Organization.identifier.system">
      <path value="Organization.identifier.system" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier.value">
      <path value="Organization.identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address">
      <path value="Organization.address" />
      <comment value="The address information is required for a dispensing organization. That means that the data can either be given or also stated with a data absent reason." />
      <max value="1" />
    </element>
    <element id="Organization.address.line">
      <path value="Organization.address.line" />
      <comment value="This information is required. That means that the data can either be given or also stated with a data absent reason." />
      <min value="1" />
    </element>
    <element id="Organization.address.city">
      <path value="Organization.address.city" />
      <comment value="This information is required. That means that the data can either be given or also stated with a data absent reason." />
      <min value="1" />
    </element>
    <element id="Organization.address.state">
      <path value="Organization.address.state" />
      <comment value="This information is required. That means that the data can either be given or also stated with a data absent reason." />
      <min value="1" />
    </element>
    <element id="Organization.address.postalCode">
      <path value="Organization.address.postalCode" />
      <comment value="This information is required. That means that the data can either be given or also stated with a data absent reason." />
      <min value="1" />
    </element>
    <element id="Organization.address.country">
      <path value="Organization.address.country" />
      <comment value="This information is required. That means that the data can either be given or also stated with a data absent reason." />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>