PackagesCanonicalsLogsProblems
    Packages
    de.gematik.tiflow.diga@2.0.0
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA
description: Dispensierung einer DiGA-Verordnung
package_name: de.gematik.tiflow.diga
derivation: constraint
name: GEM_ERP_PR_MedicationDispense_DiGA
type: MedicationDispense
elements:
  whenHandedOver:
    short: Abgabedatum
    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: 22
  eventHistory: {index: 26}
  substitution: {index: 24}
  detectedIssue: {index: 25}
  medication[x]:
    elements:
      identifier:
        short: Eindeutige Identifikationsnummer für eine Verschreibungseinheit einer DiGA (PZN).
        mustSupport: true
        index: 11
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/ifa/pzn'}
            mustSupport: true
            index: 12
          value: {mustSupport: true, index: 13}
        required: [value, system]
      display: {short: Name der DiGA-Verschreibungseinheit., mustSupport: true, index: 14}
  type: {index: 20}
  extension:
    type: Extension
    url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode
    index: 0
    slicing:
      slices:
        redeemCode:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode', index: 0}
          min: 0
          max: 1
        deepLink:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink', index: 1}
          min: 0
          max: 1
  supportingInformation: {index: 16}
  status:
    short: completed
    pattern: {type: Code, value: completed}
    index: 5
  daysSupply: {index: 21}
  identifier:
    short: E-Rezept-ID
    index: 2
    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: 3
          min: 1
          max: 1
  context: {index: 15}
  partOf: {index: 4}
  location: {index: 19}
  destination: {index: 23}
  performer:
    elements:
      actor:
        mustSupport: true
        index: 17
        elements:
          identifier: {type: Identifier, index: 18}
        required: [identifier]
  medication:
    extensions: {}
    elements:
      extension:
        elements:
          value:
            pattern: {type: Code, value: asked-declined}
            choices: []
            index: 10
package_version: 2.0.0
extensions:
  redeemCode: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode', min: 0, max: 1, type: Extension, index: 0}
  deepLink: {url: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA
base: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-dispense-dgmp
version: 2.0.0
required: [identifier]