PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.medication@1.3.0
    https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
description: Abbildung der Angaben zur Verordnung eines Betäubungsmittels im Sinne des Betäubungsmittelgesetzes (BtMG)
package_name: de.gematik.epa.medication
derivation: constraint
name: NarcoticsExtension
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: closed
      description: Extensions are always sliced by (at least) url
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        narcotics-markings:
          match: {url: narcotics-markings}
          schema:
            mustSupport: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: narcotics-markings}
                index: 3
              value:
                mustSupport: true
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueCoding]
                        pattern:
                          type: Coding
                          value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
                        index: 7
                      min: 0
                      max: 1
              valueCoding:
                type: Coding
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        mustSupport: true
                        pattern:
                          type: Coding
                          value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
                        choiceOf: value
                        index: 8
                      min: 0
                      max: 1
              value[x]:
                elements:
                  system: {mustSupport: true, index: 9}
                  code: {short: Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV, mustSupport: true, index: 10}
        additional-information-substitutes:
          match: {url: additional-information-substitutes}
          schema:
            mustSupport: true
            index: 11
            extensions: {}
            elements:
              extension: {index: 12}
              url:
                pattern: {type: Uri, value: additional-information-substitutes}
                index: 13
              value:
                mustSupport: true
                choices: []
                index: 15
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueString:
                      match: {}
                      schema:
                        short: Ergänzende Angaben zu Substitutionsmittel
                        mustSupport: true
                        choices: [valueString]
                        index: 17
                      min: 0
                      max: 1
              valueString:
                short: Ergänzende Angaben zu Substitutionsmittel
                type: string
                mustSupport: true
                choiceOf: value
                index: 18
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {short: Ergänzende Angaben zu Substitutionsmittel, type: string, mustSupport: true, choiceOf: value, index: 18}
                      min: 0
                      max: 1
  url:
    pattern: {type: Uri, value: 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension'}
    index: 19
  value:
    choices: []
    index: 21
package_version: 1.3.0
extensions:
  narcotics-markings:
    url: narcotics-markings
    mustSupport: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: narcotics-markings}
        index: 3
      value:
        mustSupport: true
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: [valueCoding]
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
                index: 7
              min: 0
              max: 1
      valueCoding:
        type: Coding
        mustSupport: true
        pattern:
          type: Coding
          value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                type: Coding
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL'}
                choiceOf: value
                index: 8
              min: 0
              max: 1
      value[x]:
        elements:
          system: {mustSupport: true, index: 9}
          code: {short: Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV, mustSupport: true, index: 10}
  additional-information-substitutes:
    url: additional-information-substitutes
    mustSupport: true
    index: 11
    extensions: {}
    elements:
      extension: {index: 12}
      url:
        pattern: {type: Uri, value: additional-information-substitutes}
        index: 13
      value:
        mustSupport: true
        choices: []
        index: 15
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueString:
              match: {}
              schema:
                short: Ergänzende Angaben zu Substitutionsmittel
                mustSupport: true
                choices: [valueString]
                index: 17
              min: 0
              max: 1
      valueString:
        short: Ergänzende Angaben zu Substitutionsmittel
        type: string
        mustSupport: true
        choiceOf: value
        index: 18
        slicing:
          slices:
            valueString:
              match: {}
              schema: {short: Ergänzende Angaben zu Substitutionsmittel, type: string, mustSupport: true, choiceOf: value, index: 18}
              min: 0
              max: 1
class: extension
kind: complex-type
url: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.3.0