PackagesCanonicalsLogsProblems
    Packages
    basisprofil.de@0.2.30
    http://fhir.de/StructureDefinition/gkv/onlinepruefung-egk/0.2
description: 'Informationen zur Onlineprüfung und -aktualisierung \r\nVgl.: Anwendung der eGK  Technische Anlage zu Anlage 4a (BMV-Ä)  Verarbeitung KVK/eGK im Rahmen der vertragsärztlichen Abrechnung im Basis-Rollout  [KBV_ITA_VGEX_Mapping_KVK.pdf] - Kapitel 2.4.1'
package_name: basisprofil.de
derivation: constraint
name: gkv-onlinepruefung-egk-0.2
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        timestamp:
          match: {url: timestamp}
          schema:
            short: Datum und Uhrzeit der Onlineprüfung und -aktualisierung
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: timestamp}
                index: 2
              valueDateTime:
                type: dateTime
                short: Zeitpunkt der Onlineprüfung
                index: 3
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, short: Zeitpunkt der Onlineprüfung, _required: true, index: 3}
                      min: 1
            required: [valueDateTime]
        ergebnis:
          match: {url: ergebnis}
          schema:
            short: Ergebnis der Onlineprüfung und -aktualisierung
            _required: true
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: ergebnis}
                index: 5
              valueCode:
                constraint:
                  gkv-1: {human: Die Extension darf nur die Ziffern 1-6 enthalten!, severity: warning, expression: 'matches(''[1-6]'')'}
                short: Ergebniscode
                type: code
                index: 6
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        constraint:
                          gkv-1: {human: Die Extension darf nur die Ziffern 1-6 enthalten!, severity: warning, expression: 'matches(''[1-6]'')'}
                        short: Ergebniscode
                        type: code
                        _required: true
                        index: 6
                      min: 1
            required: [valueCode]
        errorCode:
          match: {url: errorCode}
          schema:
            short: Error-Code
            _required: true
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: errorCode}
                index: 8
              valueCode:
                constraint:
                  gkv-2: {human: Die Extension darf nur maximal fünfstellige numerische Werte enthalten!, severity: warning, expression: 'matches(''[0-9]{1,5}'')'}
                short: errorCode
                type: code
                index: 9
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        constraint:
                          gkv-2: {human: Die Extension darf nur maximal fünfstellige numerische Werte enthalten!, severity: warning, expression: 'matches(''[0-9]{1,5}'')'}
                        short: errorCode
                        type: code
                        _required: true
                        index: 9
                      min: 1
            required: [valueCode]
        pruefzifferFachdienst:
          match: {url: pruefzifferFachdienst}
          schema:
            short: Prüfziffer des Fachdienstes
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: pruefzifferFachdienst}
                index: 11
              valueString:
                type: string
                index: 12
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, _required: true, index: 12}
                      min: 1
            required: [valueString]
  url:
    pattern: {type: Uri, value: 'http://fhir.de/StructureDefinition/gkv/onlinepruefung-egk/0.2'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 0.2.30
extensions:
  timestamp:
    url: timestamp
    short: Datum und Uhrzeit der Onlineprüfung und -aktualisierung
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: timestamp}
        index: 2
      valueDateTime:
        type: dateTime
        short: Zeitpunkt der Onlineprüfung
        index: 3
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, short: Zeitpunkt der Onlineprüfung, _required: true, index: 3}
              min: 1
    required: [valueDateTime]
  ergebnis:
    url: ergebnis
    short: Ergebnis der Onlineprüfung und -aktualisierung
    _required: true
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: ergebnis}
        index: 5
      valueCode:
        constraint:
          gkv-1: {human: Die Extension darf nur die Ziffern 1-6 enthalten!, severity: warning, expression: 'matches(''[1-6]'')'}
        short: Ergebniscode
        type: code
        index: 6
        slicing:
          slices:
            valueCode:
              match: {}
              schema:
                constraint:
                  gkv-1: {human: Die Extension darf nur die Ziffern 1-6 enthalten!, severity: warning, expression: 'matches(''[1-6]'')'}
                short: Ergebniscode
                type: code
                _required: true
                index: 6
              min: 1
    required: [valueCode]
  errorCode:
    url: errorCode
    short: Error-Code
    _required: true
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: errorCode}
        index: 8
      valueCode:
        constraint:
          gkv-2: {human: Die Extension darf nur maximal fünfstellige numerische Werte enthalten!, severity: warning, expression: 'matches(''[0-9]{1,5}'')'}
        short: errorCode
        type: code
        index: 9
        slicing:
          slices:
            valueCode:
              match: {}
              schema:
                constraint:
                  gkv-2: {human: Die Extension darf nur maximal fünfstellige numerische Werte enthalten!, severity: warning, expression: 'matches(''[0-9]{1,5}'')'}
                short: errorCode
                type: code
                _required: true
                index: 9
              min: 1
    required: [valueCode]
  pruefzifferFachdienst:
    url: pruefzifferFachdienst
    short: Prüfziffer des Fachdienstes
    index: 10
    elements:
      url:
        pattern: {type: Uri, value: pruefzifferFachdienst}
        index: 11
      valueString:
        type: string
        index: 12
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, _required: true, index: 12}
              min: 1
    required: [valueString]
class: extension
kind: complex-type
url: http://fhir.de/StructureDefinition/gkv/onlinepruefung-egk/0.2
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '0.2'