PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata.test@2.3.3
    http://hl7.no/fhir/StructureDefinition/reference-targetElement
description: Reference to specific elements of the target resource.\r\nCan optionally provide the changed values of the element (old and new)
package_name: ehelse.fhir.no.grunndata.test
derivation: constraint
name: TargetElement
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        elementUri:
          match: {url: elementUri}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: elementUri}
                index: 2
              value:
                short: Reference to the specific element of the target resource
                choices: [valueUri]
                index: 4
              valueUri: {type: uri, short: Reference to the specific element of the target resource, choiceOf: value, index: 5}
        change:
          match: {url: change}
          schema:
            short: The old and new value of the changed element
            index: 6
            extensions:
              oldValue:
                url: oldValue
                index: 8
                elements:
                  url:
                    pattern: {type: Uri, value: oldValue}
                    index: 9
                  value:
                    short: The old value of the element
                    choices: []
                    index: 11
              newValue:
                url: newValue
                index: 12
                elements:
                  url:
                    pattern: {type: Uri, value: newValue}
                    index: 13
                  value:
                    short: The new value of the element
                    choices: []
                    index: 15
            elements:
              extension:
                index: 7
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    oldValue:
                      match: {url: oldValue}
                      schema:
                        index: 8
                        elements:
                          url:
                            pattern: {type: Uri, value: oldValue}
                            index: 9
                          value:
                            short: The old value of the element
                            choices: []
                            index: 11
                    newValue:
                      match: {url: newValue}
                      schema:
                        index: 12
                        elements:
                          url:
                            pattern: {type: Uri, value: newValue}
                            index: 13
                          value:
                            short: The new value of the element
                            choices: []
                            index: 15
              url:
                pattern: {type: Uri, value: change}
                index: 16
              value:
                choices: []
                index: 18
  url:
    pattern: {type: Uri, value: 'http://hl7.no/fhir/StructureDefinition/reference-targetElement'}
    index: 19
  value:
    choices: []
    index: 21
package_version: 2.3.3
extensions:
  elementUri:
    url: elementUri
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: elementUri}
        index: 2
      value:
        short: Reference to the specific element of the target resource
        choices: [valueUri]
        index: 4
      valueUri: {type: uri, short: Reference to the specific element of the target resource, choiceOf: value, index: 5}
  change:
    url: change
    short: The old and new value of the changed element
    index: 6
    extensions:
      oldValue:
        url: oldValue
        index: 8
        elements:
          url:
            pattern: {type: Uri, value: oldValue}
            index: 9
          value:
            short: The old value of the element
            choices: []
            index: 11
      newValue:
        url: newValue
        index: 12
        elements:
          url:
            pattern: {type: Uri, value: newValue}
            index: 13
          value:
            short: The new value of the element
            choices: []
            index: 15
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            oldValue:
              match: {url: oldValue}
              schema:
                index: 8
                elements:
                  url:
                    pattern: {type: Uri, value: oldValue}
                    index: 9
                  value:
                    short: The old value of the element
                    choices: []
                    index: 11
            newValue:
              match: {url: newValue}
              schema:
                index: 12
                elements:
                  url:
                    pattern: {type: Uri, value: newValue}
                    index: 13
                  value:
                    short: The new value of the element
                    choices: []
                    index: 15
      url:
        pattern: {type: Uri, value: change}
        index: 16
      value:
        choices: []
        index: 18
class: extension
kind: complex-type
url: http://hl7.no/fhir/StructureDefinition/reference-targetElement
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.0