PackagesCanonicalsLogsProblems
    Packages
    de.gematik.ti@1.4.0-ballot.2
    https://gematik.de/fhir/ti/StructureDefinition/ti-medication-dispense-dgmp
description: Defines the medication dispense resource for the Medication Service in the TI ecosystem.
package_name: de.gematik.ti
derivation: constraint
name: TIMedicationDispenseDgMP
type: MedicationDispense
elements:
  category:
    short: Fehlender oder nicht vorhandener Wert weist auf eine Abgabe mit Verschreibung hin.
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-dispense-category-vs'}
    mustSupport: true
    index: 13
  whenHandedOver: {mustSupport: true, index: 23}
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  substitution: {mustSupport: true, index: 25}
  extension:
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        rxPrescriptionProcessIdentifier:
          match: {url: null}
          schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 4}
          min: 0
          max: 1
        renderedDosageInstruction:
          match: {url: null}
          schema:
            short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction
            index: 5
            extensions: {}
            elements:
              extension: {index: 6}
              value:
                mustSupport: true
                choices: []
                index: 8
        generatedDosageInstructionsMeta:
          match: {url: null}
          schema: {short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', index: 9}
          min: 0
          max: 1
  status:
    short: Status of medication dispense
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-dispense-status-vs'}
    mustSupport: true
    index: 12
  dosageInstruction: {type: Dosage, short: Hier werden Informationen zur Dosierung angegeben., mustSupport: true, index: 24}
  identifier:
    index: 10
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        RxOriginatorProcessIdentifier:
          match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'}
          schema:
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'}
            index: 11
          min: 0
          max: 1
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 16
  authorizingPrescription:
    mustSupport: true
    index: 21
    elements:
      reference: {mustSupport: true, index: 22}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 17
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 18}
    required: [identifier]
  performer:
    mustSupport: true
    index: 19
    elements:
      actor:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
        index: 20
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 15
package_version: 1.4.0-ballot.2
extensions:
  rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 4}
  renderedDosageInstruction:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction
    short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
    type: Extension
    mustSupport: true
    index: 5
    extensions: {}
    elements:
      extension: {index: 6}
      value:
        mustSupport: true
        choices: []
        index: 8
  generatedDosageInstructionsMeta: {url: 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta', min: 0, max: 1, short: Metadaten zu den generierten Dosierungsanweisungen, type: Extension, mustSupport: true, index: 9}
class: profile
kind: resource
url: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-dispense-dgmp
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.4.0
required: [whenHandedOver, subject, performer]