GEM-ERP-LOG-MedicationDispense-DiGA
type: StructureDefinition
node role: treeRoot
id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition GEM-ERP-LOG-MedicationDispense-DiGA Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> GEM-ERP-LOG-MedicationDispense-DiGA 0..* Element Logical DiGA Medication Dispense Elements defined in Ancestors:@id, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.">extension #xD; prescriptionId 1..1 string ID des E-Rezepts #xD; status 1..1 code Status fixedValue: #completed #xD; patientKVNR 1..1 string KVNR des Patienten #xD; angabeAbgebendeInstutition 1..1 Identifier Telematik-ID der abgebenden Institution #xD; freischaltCode 0..1 string Freischaltcode für die DiGA #xD; deepLink 0..1 string Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird #xD; angabenZurDiGA 0..1 BackboneElement Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird. #xD; name 1..1 string Name der DiGA-Verordnungseinheit #xD; pzn 1..1 string Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN). #xD; dataAbsentReason 0..1 code Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown #xD; datum 1..1 dateTime Abgabedatum im Format YYYY-MM-DD #xD; note 0..1 Annotation Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden. #xD; substitution 0..0 Substitution darf lt. BAS nicht erfolgen. #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://gematik.de/fhir/tiflow-diga/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA
  l: GEM-ERP-LOG-MedicationDispense-DiGA
version:
  v: 2.0.0-ballot.1
name:
  v: GEM_ERP_LOG_MedicationDispense_DiGA
title:
  v: Logical DiGA Medication Dispense
status:
  v: active
experimental:
  v: false
date:
  v: 2028-04-01
publisher:
  v: gematik GmbH
contact:
  name:
    v: gematik GmbH
  telecom:
    system:
      v: url
    value:
      v: https://gematik.de
  telecom:
    system:
      v: email
description:
  v: Fachliches Modell zur Beschreibung der Informationen, die bei $close in der MedicationDispense-Ressource für DiGAs übermittelt werden.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: DE
    display:
      v: Germany
copyright:
  v: gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0.
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  uri:
    v: GEM_ERP_PR_MedicationDispense_DiGA
    l: GEM ERP PR MedicationDispense DiGA
  name:
    v: Mapping für MedicationDispense DiGA
  comment:
    v: This mapping maps the logical units of the DiGA MedicationDispense to the profile
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://gematik.de/fhir/tiflow-diga/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA
  l: GEM-ERP-LOG-MedicationDispense-DiGA
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: GEM-ERP-LOG-MedicationDispense-DiGA
    path:
      v: GEM-ERP-LOG-MedicationDispense-DiGA
    short:
      v: Logical DiGA Medication Dispense
    definition:
      v: Fachliches Modell zur Beschreibung der Informationen, die bei $close in der MedicationDispense-Ressource für DiGAs übermittelt werden.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    mapping:
      identity:
        v: GEM-ERP-MAP-MedicationDispense-DiGA
      map:
        v: GEM_ERP_PR_MedicationDispense_DiGA
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: GEM-ERP-LOG-MedicationDispense-DiGA.id
    path:
      v: GEM-ERP-LOG-MedicationDispense-DiGA.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: GEM-ERP-LOG-MedicationDispense-DiGA.extension
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
        l: structuredefinition-standards-status
      value: Code
        v: normative
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version
        l: structuredefinition-normative-version
      value: Code
        v: 4.0.0
    path:
      v: GEM-ERP-LOG-MedicationDispense-DiGA.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0

Url
v: string
l: string

v: value

v: url

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension

v: ele-1

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

identity:
  v: rim
map:
  v: n/a

identity:
  v: rim
map:
  v: N/A

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId
short:
  v: ID des E-Rezepts
definition:
  v: ID des E-Rezepts
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: identifier[prescriptionID].value

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.status
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.status
short:
  v: Status fixedValue: #completed
definition:
  v: Status fixedValue: #completed
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: status

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR
short:
  v: KVNR des Patienten
definition:
  v: KVNR des Patienten
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: subject.identifier.value

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition
short:
  v: Telematik-ID der abgebenden Institution
definition:
  v: Telematik-ID der abgebenden Institution
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: performer.actor.identifier.value

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode
short:
  v: Freischaltcode für die DiGA
definition:
  v: Optional, da die Kasse die Bereitstellung eines Freischaltcodes ablehnen kann.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: extension[redeemCode].valueString

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.deepLink
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.deepLink
short:
  v: Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird
definition:
  v: Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.deepLink
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: extension[deepLink].valueUrl

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA
short:
  v: Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.
definition:
  v: Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: medicationReference

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.id
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.extension
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.modifierExtension
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: normative
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version
    l: structuredefinition-normative-version
  value: Code
    v: 4.0.0
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name
short:
  v: Name der DiGA-Verordnungseinheit
definition:
  v: Name der DiGA-Verordnungseinheit
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: medicationReference.display

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn
short:
  v: Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).
definition:
  v: Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: medicationReference.identifier.value

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason
short:
  v: Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown
definition:
  v: Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: medicationReference.extension[data-absent-reason].valueCode

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.datum
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.datum
short:
  v: Abgabedatum im Format YYYY-MM-DD
definition:
  v: Abgabedatum im Format YYYY-MM-DD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.datum
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: whenHandedOver

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.note
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.note
short:
  v: Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.
definition:
  v: Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: note

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.substitution
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.substitution
short:
  v: Substitution darf lt. BAS nicht erfolgen.
definition:
  v: Substitution darf lt. BAS nicht erfolgen.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.substitution
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: substitution

element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA
  short:
    v: Logical DiGA Medication Dispense
  definition:
    v: Fachliches Modell zur Beschreibung der Informationen, die bei $close in der MedicationDispense-Ressource für DiGAs übermittelt werden.
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: GEM_ERP_PR_MedicationDispense_DiGA
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId
  short:
    v: ID des E-Rezepts
  definition:
    v: ID des E-Rezepts
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: identifier[prescriptionID].value
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.status
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.status
  short:
    v: Status fixedValue: #completed
  definition:
    v: Status fixedValue: #completed
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: status
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR
  short:
    v: KVNR des Patienten
  definition:
    v: KVNR des Patienten
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: subject.identifier.value
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition
  short:
    v: Telematik-ID der abgebenden Institution
  definition:
    v: Telematik-ID der abgebenden Institution
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: performer.actor.identifier.value
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode
  short:
    v: Freischaltcode für die DiGA
  definition:
    v: Optional, da die Kasse die Bereitstellung eines Freischaltcodes ablehnen kann.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: extension[redeemCode].valueString
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.deepLink
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.deepLink
  short:
    v: Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird
  definition:
    v: Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: extension[deepLink].valueUrl
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA
  short:
    v: Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.
  definition:
    v: Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: medicationReference
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name
  short:
    v: Name der DiGA-Verordnungseinheit
  definition:
    v: Name der DiGA-Verordnungseinheit
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: GEM-ERP-MAP-MedicationDispense-DiGA
    map:
      v: medicationReference.display
element:
  id:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn
  path:
    v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn
  short:
    v: Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).
  definition:
    v: Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).
  min:
    v: 1

v: 1

code:
  v: string
  l: string

identity:
  v: GEM-ERP-MAP-MedicationDispense-DiGA
map:
  v: medicationReference.identifier.value

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason
short:
  v: Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown
definition:
  v: Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: medicationReference.extension[data-absent-reason].valueCode

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.datum
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.datum
short:
  v: Abgabedatum im Format YYYY-MM-DD
definition:
  v: Abgabedatum im Format YYYY-MM-DD
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: whenHandedOver

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.note
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.note
short:
  v: Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.
definition:
  v: Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: note

id:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.substitution
path:
  v: GEM-ERP-LOG-MedicationDispense-DiGA.substitution
short:
  v: Substitution darf lt. BAS nicht erfolgen.
definition:
  v: Substitution darf lt. BAS nicht erfolgen.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: GEM-ERP-MAP-MedicationDispense-DiGA
  map:
    v: substitution