PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-vacd@5.0.0-ballot
    http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference
description: Extension to make a reference to an entry conflicting with other entries.
package_name: ch.fhir.ig.ch-vacd
derivation: constraint
name: CHVACDExtensionMergingConflictEntryReference
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        entry:
          match: {}
          schema:
            short: Reference to the conflicting entry.
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: entry}
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: The Reference to the conflicting entry.
                        choices: [valueReference]
                        _required: true
                        index: 7
                      min: 1
                      max: 1
              valueReference:
                short: The Reference to the conflicting entry.
                refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-condition', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology']
                type: Reference
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: The Reference to the conflicting entry.
                        refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-condition', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology']
                        type: Reference
                        _required: true
                        choiceOf: value
                        index: 8
                      min: 1
                      max: 1
            required: [valueReference, value]
        conflict:
          match: {}
          schema:
            short: Reference to the related document
            _required: true
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              url:
                pattern: {type: Uri, value: conflict}
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        short: The type of conflict between entries.
                        choices: [valueCode]
                        _required: true
                        index: 15
                      min: 1
                      max: 1
              valueCode:
                type: code
                short: The type of conflict between entries.
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema: {type: code, short: The type of conflict between entries., choiceOf: value, _required: true, index: 16}
                      min: 1
                      max: 1
            required: [valueCode, value]
  url:
    pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference'}
    index: 17
  value:
    choices: []
    index: 19
package_version: 5.0.0-ballot
extensions:
  entry:
    url: null
    short: Reference to the conflicting entry.
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: entry}
        index: 3
      value:
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueReference:
              match: {}
              schema:
                short: The Reference to the conflicting entry.
                choices: [valueReference]
                _required: true
                index: 7
              min: 1
              max: 1
      valueReference:
        short: The Reference to the conflicting entry.
        refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-condition', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology']
        type: Reference
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                short: The Reference to the conflicting entry.
                refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-condition', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology']
                type: Reference
                _required: true
                choiceOf: value
                index: 8
              min: 1
              max: 1
    required: [valueReference, value]
  conflict:
    url: null
    short: Reference to the related document
    _required: true
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      url:
        pattern: {type: Uri, value: conflict}
        index: 11
      value:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueCode:
              match: {}
              schema:
                short: The type of conflict between entries.
                choices: [valueCode]
                _required: true
                index: 15
              min: 1
              max: 1
      valueCode:
        type: code
        short: The type of conflict between entries.
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueCode:
              match: {}
              schema: {type: code, short: The type of conflict between entries., choiceOf: value, _required: true, index: 16}
              min: 1
              max: 1
    required: [valueCode, value]
class: extension
kind: complex-type
url: http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.0.0-ballot