PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions@5.3.0-ballot
    http://hl7.org/fhir/StructureDefinition/version-specific-value
description: 'Provides an alternative value for the element carrying this extension that is the correct value for a particular range of FHIR versions other than the default value. This extension is found in contexts where a definition is applying to more than one version, usually defining extensions, and should only be used in context that clearly document how a cross-version definition is used. While there are no limitations to where this extension can be used, known uses are: StructureDefinition.context, ElementDefinition.type, ElementDefinition.additionalBinding and ... '
package_name: hl7.fhir.uv.extensions
derivation: constraint
name: VersionSpecificValue
type: Extension
elements:
  extension:
    type: Extension
    short: Starting Version
    index: 0
    slicing:
      slices:
        value:
          match: {}
          schema:
            type: Extension
            short: Starting Version
            _required: true
            index: 0
            extensions: {}
            elements:
              valueCode: {type: code, choiceOf: value, index: 6}
              valueDecimal: {type: decimal, choiceOf: value, index: 9}
              valueCanonical: {type: canonical, choiceOf: value, index: 11}
              value:
                choices: [valueString, valueCode, valueInteger, valueBoolean, valueDecimal, valueUrl, valueCanonical]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
              valueBoolean: {type: boolean, choiceOf: value, index: 8}
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: value}
                index: 2
              valueInteger: {type: integer, choiceOf: value, index: 7}
              valueUrl: {type: url, choiceOf: value, index: 10}
            required: [valueString, valueCode, valueCanonical, valueDecimal, value, valueBoolean, valueUrl, valueInteger]
        startFhirVersion:
          match: {}
          schema:
            type: Extension
            short: Starting Version
            _required: true
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              url:
                type: uri
                pattern: {type: Uri, value: startFhirVersion}
                index: 14
              value:
                choices: [valueCode]
                index: 16
              valueCode: {type: code, choiceOf: value, index: 17}
            required: [valueCode, value]
        endFhirVersion:
          match: {}
          schema:
            type: Extension
            short: Ending Version
            _required: true
            index: 18
            extensions: {}
            elements:
              extension: {index: 19}
              url:
                type: uri
                pattern: {type: Uri, value: endFhirVersion}
                index: 20
              value:
                choices: [valueCode]
                index: 22
              valueCode: {type: code, choiceOf: value, index: 23}
            required: [valueCode, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/version-specific-value'}
    index: 24
  value:
    choices: []
    index: 26
package_version: 5.3.0-ballot
extensions:
  value:
    url: null
    type: Extension
    short: Starting Version
    _required: true
    index: 0
    extensions: {}
    elements:
      valueCode: {type: code, choiceOf: value, index: 6}
      valueDecimal: {type: decimal, choiceOf: value, index: 9}
      valueCanonical: {type: canonical, choiceOf: value, index: 11}
      value:
        choices: [valueString, valueCode, valueInteger, valueBoolean, valueDecimal, valueUrl, valueCanonical]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
      valueBoolean: {type: boolean, choiceOf: value, index: 8}
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: value}
        index: 2
      valueInteger: {type: integer, choiceOf: value, index: 7}
      valueUrl: {type: url, choiceOf: value, index: 10}
    required: [valueString, valueCode, valueCanonical, valueDecimal, value, valueBoolean, valueUrl, valueInteger]
  startFhirVersion:
    url: null
    type: Extension
    short: Starting Version
    _required: true
    index: 12
    extensions: {}
    elements:
      extension: {index: 13}
      url:
        type: uri
        pattern: {type: Uri, value: startFhirVersion}
        index: 14
      value:
        choices: [valueCode]
        index: 16
      valueCode: {type: code, choiceOf: value, index: 17}
    required: [valueCode, value]
  endFhirVersion:
    url: null
    type: Extension
    short: Ending Version
    _required: true
    index: 18
    extensions: {}
    elements:
      extension: {index: 19}
      url:
        type: uri
        pattern: {type: Uri, value: endFhirVersion}
        index: 20
      value:
        choices: [valueCode]
        index: 22
      valueCode: {type: code, choiceOf: value, index: 23}
    required: [valueCode, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/version-specific-value
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.3.0-ballot
required: [extension]