PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.3.0-rc3
    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-04-16",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2020-04-16T13:44:27.957+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "GEM_ERP_PR_MedicationDispense",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://www.hl7.org/v3/PORX_RM020070UV",
    "name": "V3 Pharmacy Dispense RMIM",
    "identity": "rx-dispense-rmim"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Dispensation of the Prescription",
  "package_version": "1.3.0-rc3",
  "status": "draft",
  "id": "f7a8ab7e-86e5-4529-8531-bec7a234d4eb",
  "kind": "resource",
  "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
  "version": "1.3",
  "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.3"
    }, {
      "id": "MedicationDispense.identifier",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId" ]
      } ],
      "short": "ePrescription identifier"
    }, {
      "id": "MedicationDispense.status",
      "path": "MedicationDispense.status",
      "short": "completed",
      "fixedCode": "completed"
    }, {
      "id": "MedicationDispense.medication[x]",
      "path": "MedicationDispense.medication[x]",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Medication" ]
      } ],
      "definition": "The MedicationDispense shows a contained medication based on the four KBV Medication-Profiles (KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText, KBV_PR_ERP_Medication_Ingredient, KBV_PR_ERP_Medication_PZN).",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.subject",
      "min": 1,
      "path": "MedicationDispense.subject"
    }, {
      "id": "MedicationDispense.subject.identifier",
      "min": 1,
      "path": "MedicationDispense.subject.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://fhir.de/StructureDefinition/identifier-kvid-10", "http://fhir.de/StructureDefinition/identifier-pkv" ]
      } ],
      "short": "The patients KVNR"
    }, {
      "id": "MedicationDispense.performer",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.performer"
    }, {
      "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",
      "mustSupport": false
    }, {
      "id": "MedicationDispense.whenHandedOver",
      "min": 1,
      "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",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
}