PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.4.3
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense
{
  "description": "Handles information about the redeem of the prescription and the submited medication.",
  "_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense.json",
  "package_name": "de.gematik.erezept-workflow.r4",
  "date": "2024-07-15",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "GEM_ERP_PR_MedicationDispense",
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Dispensation of the Prescription",
  "package_version": "1.4.3",
  "status": "active",
  "id": "31b8b667-06d1-4235-b4b2-7e4b4c300f53",
  "kind": "resource",
  "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
  "version": "1.4",
  "differential": {
    "element": [ {
      "id": "MedicationDispense.meta",
      "min": 1,
      "path": "MedicationDispense.meta"
    }, {
      "id": "MedicationDispense.meta.profile",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.meta.profile",
      "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4"
    }, {
      "id": "MedicationDispense.identifier",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "short": "ePrescription identifier"
    }, {
      "id": "MedicationDispense.identifier:prescriptionID",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId" ]
      } ],
      "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": "The MedicationDispense references a medication which was dispensed"
    }, {
      "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"
      } ]
    } ]
  },
  "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
}