PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept@workflow.r4-1.4.2-rc1
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA
description: Handles information about the dispensed DiGA
package_name: de.gematik.erezept
derivation: constraint
name: GEM_ERP_PR_MedicationDispense_DiGA
type: MedicationDispense
elements:
  whenHandedOver:
    short: Date of dispensation
    constraint:
      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_DiGA', severity: error, expression: toString().length()=10}
    index: 18
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4'}
        index: 1
    required: [profile]
  substitution: {index: 19}
  medication[x]:
    elements:
      identifier:
        mustSupport: true
        index: 12
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/ifa/pzn'}
            mustSupport: true
            index: 13
          value: {short: Unique identification number for a prescription unit of a DiGA (PZN)., mustSupport: true, index: 14}
        required: [value, system]
      display: {short: Name of the DiGA prescription unit., mustSupport: true, index: 15}
  extension:
    type: Extension
    url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode
    index: 2
    slicing:
      slices:
        redeemCode:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode', index: 2}
          min: 0
          max: 1
        deepLink:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink', index: 3}
          min: 0
          max: 1
  status:
    short: completed
    pattern: {type: Code, value: completed}
    index: 6
  identifier:
    short: ePrescription identifier
    index: 4
    slicing:
      slices:
        prescriptionID:
          match: {}
          schema:
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'}
            _required: true
            index: 5
          min: 1
          max: 1
  subject:
    elements:
      identifier: {short: The patients KVNR, index: 16}
    required: [identifier]
  performer:
    elements:
      actor:
        elements:
          identifier: {type: Identifier, index: 17}
        required: [identifier]
  medication:
    extensions: {}
    elements:
      extension:
        elements:
          value:
            pattern: {type: Code, value: asked-declined}
            choices: []
            index: 11
package_version: workflow.r4-1.4.2-rc1
extensions:
  redeemCode: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode', min: 0, max: 1, type: Extension, index: 2}
  deepLink: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink', min: 0, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA
base: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense
version: '1.4'
required: [identifier, meta]