PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.6.0-ballot1
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense
{
  "description": "Verarbeitet Informationen über die Dispensierung eines E-Rezepts und die abgegebenen Medikamente.",
  "_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense.json",
  "package_name": "de.gematik.erezept-workflow.r4",
  "date": "2025-08-01",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "GEM_ERP_PR_MedicationDispense",
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Dispensierung eines E-Rezepts",
  "package_version": "1.6.0-ballot1",
  "status": "draft",
  "id": "98da467e-fd29-4a18-a44a-7f49c141e959",
  "kind": "resource",
  "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
  "version": "1.6.0-ballot1",
  "differential": {
    "element": [ {
      "id": "MedicationDispense.meta",
      "min": 1,
      "path": "MedicationDispense.meta"
    }, {
      "id": "MedicationDispense.meta.profile",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.meta.profile",
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "description": "Slicing für meta profile",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.meta.profile:workflowProfile",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.meta.profile",
      "sliceName": "workflowProfile",
      "mustSupport": true,
      "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.6"
    }, {
      "id": "MedicationDispense.identifier",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "short": "E-Rezept-ID"
    }, {
      "id": "MedicationDispense.identifier:prescriptionID",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "https://gematik.de/fhir/ti/StructureDefinition/e-prescription-id" ]
      } ],
      "sliceName": "prescriptionID",
      "patternIdentifier": {
        "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
      }
    }, {
      "id": "MedicationDispense.status",
      "path": "MedicationDispense.status",
      "short": "completed",
      "fixedCode": "completed"
    }, {
      "id": "MedicationDispense.medication[x]",
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" ]
      } ],
      "definition": "Die MedicationDispense verweist auf ein Medikament, das abgegeben wurde."
    }, {
      "id": "MedicationDispense.performer.actor.identifier",
      "min": 1,
      "path": "MedicationDispense.performer.actor.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://fhir.de/StructureDefinition/identifier-telematik-id" ]
      } ]
    }, {
      "id": "MedicationDispense.whenPrepared",
      "path": "MedicationDispense.whenPrepared",
      "constraint": [ {
        "key": "workflow-abgabeDatumsFormat",
        "human": "Wert muss ein Datum in der Form: YYYY-MM-DD sein.",
        "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
        "severity": "error",
        "expression": "toString().length()=10"
      } ],
      "mustSupport": false
    }, {
      "id": "MedicationDispense.whenHandedOver",
      "path": "MedicationDispense.whenHandedOver",
      "constraint": [ {
        "key": "workflow-abgabeDatumsFormat",
        "human": "Wert muss ein Datum in der Form: YYYY-MM-DD sein.",
        "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
        "severity": "error",
        "expression": "toString().length()=10"
      } ]
    }, {
      "id": "MedicationDispense.dosageInstruction",
      "path": "MedicationDispense.dosageInstruction",
      "type": [ {
        "code": "Dosage",
        "profile": [ "http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP" ]
      } ]
    } ]
  },
  "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
}