{
  "resourceType": "StructureDefinition",
  "id": "epa-medication-unique-identifier",
  "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier",
  "version": "1.1.1",
  "name": "EPAMedicationUniqueIdentifier",
  "title": "EPA Medication Unique Identifier",
  "status": "active",
  "experimental": false,
  "date": "2024-08-14",
  "publisher": "gematik GmbH",
  "description": "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": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Identifier",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Identifier",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Identifier.system",
        "path": "Identifier.system",
        "min": 1,
        "patternUri": "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
        "mustSupport": true
      },
      {
        "id": "Identifier.value",
        "path": "Identifier.value",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}