PackagesCanonicalsLogsProblems
    Packages
    rs/KBV.ITA.ERP@1.0.0
    https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription
description: null
package_name: rs/KBV.ITA.ERP
derivation: constraint
name: KBV_EX_ERP_Multiple_Prescription
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Kennzeichen:
          match: {url: Kennzeichen}
          schema:
            short: Kennzeichen Mehrfachverordnung
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: Kennzeichen}
                type: uri
                index: 2
              value:
                short: Kennzeichen Mehrfachverordnung
                choices: [valueBoolean]
                index: 7
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        short: Kennzeichen Mehrfachverordnung
                        choices: [valueBoolean]
                        _required: true
                        index: 7
                      min: 1
              valueBoolean:
                type: boolean
                short: Kennzeichen Mehrfachverordnung
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {type: boolean, short: Kennzeichen Mehrfachverordnung, choiceOf: value, _required: true, index: 8}
                      min: 1
            required: [value, valueBoolean]
        Nummerierung:
          match: {url: Nummerierung}
          schema:
            short: Nummerierung
            index: 9
            elements:
              url:
                pattern: {type: uri, value: Nummerierung}
                type: uri
                index: 10
              value:
                choices: [valueRatio]
                index: 15
                slicing:
                  slices:
                    valueRatio:
                      match: {}
                      schema:
                        choices: [valueRatio]
                        _required: true
                        index: 15
                      min: 1
              valueRatio:
                type: Ratio
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueRatio:
                      match: {}
                      schema: {type: Ratio, choiceOf: value, _required: true, index: 16}
                      min: 1
              value[x]:
                elements:
                  numerator:
                    index: 17
                    elements:
                      value: {short: Zähler Mehrfachverordnung, index: 18}
                      comparator: {index: 19}
                      unit: {index: 20}
                      system: {index: 21}
                      code: {index: 22}
                    required: [value]
                  denominator:
                    index: 23
                    elements:
                      value: {short: Nenner Mehrfachverordnung, index: 24}
                      comparator: {index: 25}
                      unit: {index: 26}
                      system: {index: 27}
                      code: {index: 28}
                    required: [value]
                required: [denominator, numerator]
            required: [value, valueRatio]
        Zeitraum:
          match: {url: Zeitraum}
          schema:
            short: Zeitraum der Einlösung
            index: 29
            elements:
              url:
                pattern: {type: uri, value: Zeitraum}
                type: uri
                index: 30
              value:
                choices: [valuePeriod]
                index: 32
              valuePeriod:
                type: Period
                choiceOf: value
                index: 33
                slicing:
                  rules: closed
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valuePeriod:
                      match: {}
                      schema: {type: Period, _required: true, index: 34}
                      min: 1
            required: [value, valuePeriod]
  url:
    pattern: {type: uri, value: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription'}
    type: uri
    index: 35
  value:
    choices: []
    index: 37
package_version: 1.0.0
extensions:
  Kennzeichen:
    url: Kennzeichen
    short: Kennzeichen Mehrfachverordnung
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: Kennzeichen}
        type: uri
        index: 2
      value:
        short: Kennzeichen Mehrfachverordnung
        choices: [valueBoolean]
        index: 7
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                short: Kennzeichen Mehrfachverordnung
                choices: [valueBoolean]
                _required: true
                index: 7
              min: 1
      valueBoolean:
        type: boolean
        short: Kennzeichen Mehrfachverordnung
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {type: boolean, short: Kennzeichen Mehrfachverordnung, choiceOf: value, _required: true, index: 8}
              min: 1
    required: [value, valueBoolean]
  Nummerierung:
    url: Nummerierung
    short: Nummerierung
    index: 9
    elements:
      url:
        pattern: {type: uri, value: Nummerierung}
        type: uri
        index: 10
      value:
        choices: [valueRatio]
        index: 15
        slicing:
          slices:
            valueRatio:
              match: {}
              schema:
                choices: [valueRatio]
                _required: true
                index: 15
              min: 1
      valueRatio:
        type: Ratio
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueRatio:
              match: {}
              schema: {type: Ratio, choiceOf: value, _required: true, index: 16}
              min: 1
      value[x]:
        elements:
          numerator:
            index: 17
            elements:
              value: {short: Zähler Mehrfachverordnung, index: 18}
              comparator: {index: 19}
              unit: {index: 20}
              system: {index: 21}
              code: {index: 22}
            required: [value]
          denominator:
            index: 23
            elements:
              value: {short: Nenner Mehrfachverordnung, index: 24}
              comparator: {index: 25}
              unit: {index: 26}
              system: {index: 27}
              code: {index: 28}
            required: [value]
        required: [denominator, numerator]
    required: [value, valueRatio]
  Zeitraum:
    url: Zeitraum
    short: Zeitraum der Einlösung
    index: 29
    elements:
      url:
        pattern: {type: uri, value: Zeitraum}
        type: uri
        index: 30
      value:
        choices: [valuePeriod]
        index: 32
      valuePeriod:
        type: Period
        choiceOf: value
        index: 33
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valuePeriod:
              match: {}
              schema: {type: Period, _required: true, index: 34}
              min: 1
    required: [value, valuePeriod]
class: extension
kind: complex-type
url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0