PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.erp@1.2.0-alpha
    https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident
description: null
package_name: kbv.ita.erp
derivation: constraint
name: KBV_EX_FOR_Accident
type: Extension
elements:
  extension:
    array: true
    min: 1
    max: 3
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 1
      max: 3
      slices:
        Unfallkennzeichen:
          match: {url: Unfallkennzeichen}
          schema:
            short: Unfallkennzeichen
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: Unfallkennzeichen}
                index: 2
              value:
                choices: [valueCoding]
                index: 7
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: [valueCoding]
                        _required: true
                        index: 7
                      min: 1
              valueCoding:
                type: Coding
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema: {type: Coding, choiceOf: value, _required: true, index: 8}
                      min: 1
              value[x]:
                elements:
                  system: {index: 9}
                  version: {index: 10}
                  code: {index: 11}
                  display: {index: 12}
                  userSelected: {index: 13}
                required: [system, code]
            required: [valueCoding, value]
        Unfallbetrieb:
          match: {url: Unfallbetrieb}
          schema:
            index: 14
            elements:
              url:
                pattern: {type: Uri, value: Unfallbetrieb}
                index: 15
              value:
                short: Name des Unfallberiebs
                maxLength: 45
                choices: [valueString]
                index: 20
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        short: Name des Unfallberiebs
                        maxLength: 45
                        choices: [valueString]
                        _required: true
                        index: 20
                      min: 1
              valueString:
                short: Name des Unfallberiebs
                type: string
                maxLength: 45
                choiceOf: value
                index: 21
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {short: Name des Unfallberiebs, type: string, _required: true, maxLength: 45, choiceOf: value, index: 21}
                      min: 1
            required: [valueString, value]
        Unfalltag:
          match: {url: Unfalltag}
          schema:
            index: 22
            elements:
              url:
                pattern: {type: Uri, value: Unfalltag}
                index: 23
              value:
                short: Unfalltag
                choices: [valueDate]
                index: 28
                slicing:
                  slices:
                    valueDate:
                      match: {}
                      schema:
                        short: Unfalltag
                        choices: [valueDate]
                        index: 28
              valueDate:
                type: date
                short: Unfalltag
                choiceOf: value
                index: 29
                slicing:
                  slices:
                    valueDate:
                      match: {}
                      schema: {type: date, short: Unfalltag, choiceOf: value, index: 29}
  url:
    pattern: {type: Uri, value: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident'}
    index: 30
  value:
    choices: []
    index: 32
package_version: 1.2.0-alpha
extensions:
  Unfallkennzeichen:
    url: Unfallkennzeichen
    short: Unfallkennzeichen
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: Unfallkennzeichen}
        index: 2
      value:
        choices: [valueCoding]
        index: 7
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                choices: [valueCoding]
                _required: true
                index: 7
              min: 1
      valueCoding:
        type: Coding
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueCoding:
              match: {}
              schema: {type: Coding, choiceOf: value, _required: true, index: 8}
              min: 1
      value[x]:
        elements:
          system: {index: 9}
          version: {index: 10}
          code: {index: 11}
          display: {index: 12}
          userSelected: {index: 13}
        required: [system, code]
    required: [valueCoding, value]
  Unfallbetrieb:
    url: Unfallbetrieb
    index: 14
    elements:
      url:
        pattern: {type: Uri, value: Unfallbetrieb}
        index: 15
      value:
        short: Name des Unfallberiebs
        maxLength: 45
        choices: [valueString]
        index: 20
        slicing:
          slices:
            valueString:
              match: {}
              schema:
                short: Name des Unfallberiebs
                maxLength: 45
                choices: [valueString]
                _required: true
                index: 20
              min: 1
      valueString:
        short: Name des Unfallberiebs
        type: string
        maxLength: 45
        choiceOf: value
        index: 21
        slicing:
          slices:
            valueString:
              match: {}
              schema: {short: Name des Unfallberiebs, type: string, _required: true, maxLength: 45, choiceOf: value, index: 21}
              min: 1
    required: [valueString, value]
  Unfalltag:
    url: Unfalltag
    index: 22
    elements:
      url:
        pattern: {type: Uri, value: Unfalltag}
        index: 23
      value:
        short: Unfalltag
        choices: [valueDate]
        index: 28
        slicing:
          slices:
            valueDate:
              match: {}
              schema:
                short: Unfalltag
                choices: [valueDate]
                index: 28
      valueDate:
        type: date
        short: Unfalltag
        choiceOf: value
        index: 29
        slicing:
          slices:
            valueDate:
              match: {}
              schema: {type: date, short: Unfalltag, choiceOf: value, index: 29}
class: extension
kind: complex-type
url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.2.0
required: [extension]