PackagesCanonicalsLogsProblems
    Packages
    de.gevko.emdaf@1.2.0
    https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Annotation_Comment
description: Freitext für Kommentare oder Hinweise zwischen Leistungserbringern
package_name: de.gevko.emdaf
derivation: constraint
name: EMDAF_EX_Annotation_Comment
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Kommentar:
          match: {url: Kommentar}
          schema:
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: Kommentar}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
            required: [valueString, value]
        Code:
          match: {url: Code}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: Code}
                index: 7
              value:
                choices: [valueCoding]
                index: 9
              valueCoding: {type: Coding, choiceOf: value, index: 10}
              value[x]:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 11
                  code:
                    pattern: {type: Code, value: 48767-8}
                    index: 12
                  display:
                    pattern: {type: String, value: Annotation Comment}
                    index: 13
                required: [display, system, code]
            required: [valueCoding, value]
  url:
    pattern: {type: Uri, value: 'https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Annotation_Comment'}
    index: 14
  value:
    choices: []
    index: 16
package_version: 1.2.0
extensions:
  Kommentar:
    url: Kommentar
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: Kommentar}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
    required: [valueString, value]
  Code:
    url: Code
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: Code}
        index: 7
      value:
        choices: [valueCoding]
        index: 9
      valueCoding: {type: Coding, choiceOf: value, index: 10}
      value[x]:
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 11
          code:
            pattern: {type: Code, value: 48767-8}
            index: 12
          display:
            pattern: {type: String, value: Annotation Comment}
            index: 13
        required: [display, system, code]
    required: [valueCoding, value]
class: extension
kind: complex-type
url: https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Annotation_Comment
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.2'