<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="epa-medication-unique-identifier" />
  <url value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier" />
  <version value="1.1.1" />
  <name value="EPAMedicationUniqueIdentifier" />
  <title value="EPA Medication Unique Identifier" />
  <status value="active" />
  <experimental value="false" />
  <date value="2024-08-14" />
  <publisher value="gematik GmbH" />
  <description value="This unique identifier is generated within the Medication Service. It is either a hash derived from a specific set of data elements of the Medication resource or a direct repetition of a single data element. This identifier ensures the distinct identification of Medication resources across the ePA system." />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Identifier" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Identifier" />
  <derivation value="constraint" />
  <differential>
    <element id="Identifier.system">
      <path value="Identifier.system" />
      <min value="1" />
      <patternUri value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Identifier.value">
      <path value="Identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>