{
  "resourceType": "StructureDefinition",
  "id": "erp-tprescription-medication",
  "url": "https://gematik.de/fhir/erp-t-prescription/StructureDefinition/erp-tprescription-medication",
  "version": "1.2.0",
  "name": "ERP_TPrescription_Medication",
  "title": "E-T-Rezept Medication",
  "status": "draft",
  "date": "2025-12-19",
  "description": "Medikationsprofil, welches Informationen zum verordneten oder abgegebenen Arzneimittel enthält.",
  "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",
        "max": "0"
      },
      {
        "id": "Medication.implicitRules",
        "path": "Medication.implicitRules",
        "max": "0"
      },
      {
        "id": "Medication.language",
        "path": "Medication.language",
        "max": "0"
      },
      {
        "id": "Medication.text",
        "path": "Medication.text",
        "max": "0"
      },
      {
        "id": "Medication.contained",
        "path": "Medication.contained",
        "short": "Enthaltene Medikationen",
        "comment": "Im Falle einer Rezeptur oder Kombipackung sind die Bestandteile der Rezeptur, bzw. Kombipackung hier als Medications gelistet."
      },
      {
        "id": "Medication.extension:rxPrescriptionProcessIdentifier",
        "path": "Medication.extension",
        "sliceName": "rxPrescriptionProcessIdentifier",
        "max": "0"
      },
      {
        "id": "Medication.extension:isVaccine",
        "path": "Medication.extension",
        "sliceName": "isVaccine",
        "max": "0"
      },
      {
        "id": "Medication.extension:drugCategory",
        "path": "Medication.extension",
        "sliceName": "drugCategory",
        "max": "0"
      },
      {
        "id": "Medication.extension:manufacturingInstructions",
        "path": "Medication.extension",
        "sliceName": "manufacturingInstructions",
        "max": "0"
      },
      {
        "id": "Medication.extension:type",
        "path": "Medication.extension",
        "sliceName": "type",
        "max": "0"
      },
      {
        "id": "Medication.identifier",
        "path": "Medication.identifier",
        "max": "0"
      },
      {
        "id": "Medication.identifier:EPAMedicationUniqueIdentifier",
        "path": "Medication.identifier",
        "sliceName": "EPAMedicationUniqueIdentifier",
        "max": "0"
      },
      {
        "id": "Medication.identifier:RxOriginatorProcessIdentifier",
        "path": "Medication.identifier",
        "sliceName": "RxOriginatorProcessIdentifier",
        "max": "0"
      },
      {
        "id": "Medication.status",
        "path": "Medication.status",
        "max": "0"
      },
      {
        "id": "Medication.manufacturer",
        "path": "Medication.manufacturer",
        "max": "0"
      },
      {
        "id": "Medication.batch",
        "path": "Medication.batch",
        "max": "0"
      }
    ]
  }
}