<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="epa-erp-prescription-id" />
  <url value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-erp-prescription-id" />
  <version value="1.1.1" />
  <name value="EPAeRPPrescriptionId" />
  <title value="EPA Identifier Profile for eRP Prescription IDs" />
  <status value="active" />
  <experimental value="false" />
  <date value="2024-08-14" />
  <publisher value="gematik GmbH" />
  <description value="The prescriptionID is an generated and not changeable sequence of numbers seperated by dots. The first three numbers define the type of the prescription. The next twelve numbers are the generated unique and consecutive sequence of the prescription. The last two digits are the check numbers according to ISO 7064." />
  <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.use">
      <path value="Identifier.use" />
      <fixedCode value="official" />
    </element>
    <element id="Identifier.system">
      <path value="Identifier.system" />
      <min value="1" />
      <fixedUri value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" />
      <mustSupport value="true" />
    </element>
    <element id="Identifier.value">
      <path value="Identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>