{
  "resourceType": "StructureDefinition",
  "id": "GEM-ERPEU-PR-Medication",
  "url": "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Medication",
  "version": "1.1.2",
  "name": "GEM_ERPEU_PR_Medication",
  "title": "EU-Medication",
  "status": "active",
  "date": "2026-02-09",
  "description": "Medication of a Prescription or Dispensation from the EU",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication.meta",
        "path": "Medication.meta",
        "min": 1
      },
      {
        "id": "Medication.meta.profile",
        "path": "Medication.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "closed",
          "description": "Slicing for meta profile",
          "ordered": false
        },
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Medication.meta.profile:workflowEUProfile",
        "path": "Medication.meta.profile",
        "sliceName": "workflowEUProfile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Medication|1.1",
        "mustSupport": true
      },
      {
        "id": "Medication.extension:packageIdentifier",
        "path": "Medication.extension",
        "sliceName": "packageIdentifier",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_EX_MedicinalPackageIdentifier"
            ]
          }
        ]
      },
      {
        "id": "Medication.extension:packageDescription",
        "path": "Medication.extension",
        "sliceName": "packageDescription",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_EX_MedicinalPackageDescription"
            ]
          }
        ]
      }
    ]
  }
}