PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r4b@0.0.1-snapshot-2
    http://hl7.org/fhir/1.0/StructureDefinition/extension-Extension.value
description: This cross-version extension represents Extension.value[x] from http://hl7.org/fhir/StructureDefinition/Extension|1.0.2 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver-r2.r4b
derivation: constraint
name: Ext_R2_Extension_value
type: Extension
elements:
  valueBase64Binary:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: base64Binary
    short: Value of extension
    choiceOf: value
    index: 36
  valueTiming:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Timing
    short: Value of extension
    choiceOf: value
    index: 63
  valueCode:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: code
    short: Value of extension
    choiceOf: value
    index: 43
  valueReference:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Reference
    short: Value of extension
    choiceOf: value
    index: 64
  valueUri:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: uri
    short: Value of extension
    choiceOf: value
    index: 39
  valueTime:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: time
    short: Value of extension
    choiceOf: value
    index: 42
  valueDecimal:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: decimal
    short: Value of extension
    choiceOf: value
    index: 35
  valueMarkdown:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: markdown
    short: Value of extension
    choiceOf: value
    index: 48
  valueIdentifier:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Identifier
    short: Value of extension
    choiceOf: value
    index: 51
  valueQuantity:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Quantity
    short: Value of extension
    choiceOf: value
    index: 54
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    short: Value of extension
    choices: [valueBoolean, valueInteger, valueDecimal, valueBase64Binary, valueInstant, valueString, valueUri, valueDate, valueDateTime, valueTime, valueCode, valueOid, valueId, valueUnsignedInt, valuePositiveInt, valueMarkdown, valueAnnotation, valueAttachment, valueIdentifier, valueCodeableConcept, valueCoding, valueQuantity, valueRange, valuePeriod, valueRatio, valueSampledData, valueSignature, valueHumanName, valueAddress, valueContactPoint, valueTiming, valueReference]
    index: 32
  valueString:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: string
    short: Value of extension
    choiceOf: value
    index: 38
  valueRatio:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Ratio
    short: Value of extension
    choiceOf: value
    index: 57
  valueBoolean:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: boolean
    short: Value of extension
    choiceOf: value
    index: 33
  valueInstant:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: instant
    short: Value of extension
    choiceOf: value
    index: 37
  valueDateTime:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: dateTime
    short: Value of extension
    choiceOf: value
    index: 41
  valueDate:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: date
    short: Value of extension
    choiceOf: value
    index: 40
  valueCoding:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Coding
    short: Value of extension
    choiceOf: value
    index: 53
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        versionId:
          match: {url: versionId}
          schema:
            short: Version specific identifier
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: versionId}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Version specific identifier
                choices: [valueId]
                index: 4
              valueId:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: id
                short: Version specific identifier
                choiceOf: value
                index: 5
            required: [url]
        lastUpdated:
          match: {url: lastUpdated}
          schema:
            short: When the resource version last changed
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: lastUpdated}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: When the resource version last changed
                choices: [valueInstant]
                index: 9
              valueInstant:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: instant
                short: When the resource version last changed
                choiceOf: value
                index: 10
            required: [url]
        profile:
          match: {url: profile}
          schema:
            short: Profiles this resource claims to conform to
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: profile}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Profiles this resource claims to conform to
                choices: [valueUri]
                index: 14
              valueUri:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: uri
                short: Profiles this resource claims to conform to
                choiceOf: value
                index: 15
            required: [url]
        security:
          match: {url: security}
          schema:
            short: Security Labels applied to this resource
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: security}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Security Labels applied to this resource
                choices: [valueCoding]
                index: 19
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: Security Labels applied to this resource
                choiceOf: value
                index: 20
            required: [url]
        tag:
          match: {url: tag}
          schema:
            short: Tags applied to this resource
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: tag}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Tags applied to this resource
                choices: [valueCoding]
                index: 24
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: Tags applied to this resource
                choiceOf: value
                index: 25
            required: [url]
        _datatype:
          match: {url: null}
          schema:
            type: Extension
            short: Data type name for Extension.value[x] from FHIR R2
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            index: 26
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: Meta}
                choices: [valueString]
                index: 28
              valueString:
                type: string
                pattern: {type: String, value: Meta}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 29
            required: [valueString, value]
  valueSampledData:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: SampledData
    short: Value of extension
    choiceOf: value
    index: 58
  valueContactPoint:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: ContactPoint
    short: Value of extension
    choiceOf: value
    index: 62
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-Extension.value'}
    index: 30
  valueCodeableConcept:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: CodeableConcept
    short: Value of extension
    choiceOf: value
    index: 52
  valueAnnotation:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Annotation
    short: Value of extension
    choiceOf: value
    index: 49
  valuePeriod:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Period
    short: Value of extension
    choiceOf: value
    index: 56
  valueRange:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Range
    short: Value of extension
    choiceOf: value
    index: 55
  valueSignature:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Signature
    short: Value of extension
    choiceOf: value
    index: 59
  valueInteger:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: integer
    short: Value of extension
    choiceOf: value
    index: 34
  valueHumanName:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: HumanName
    short: Value of extension
    choiceOf: value
    index: 60
  valueUnsignedInt:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: unsignedInt
    short: Value of extension
    choiceOf: value
    index: 46
  valueAttachment:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Attachment
    short: Value of extension
    choiceOf: value
    index: 50
  valueOid:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: oid
    short: Value of extension
    choiceOf: value
    index: 44
  valueAddress:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: Address
    short: Value of extension
    choiceOf: value
    index: 61
  valuePositiveInt:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: positiveInt
    short: Value of extension
    choiceOf: value
    index: 47
  valueId:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    type: id
    short: Value of extension
    choiceOf: value
    index: 45
package_version: 0.0.1-snapshot-2
extensions:
  versionId:
    url: versionId
    short: Version specific identifier
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: versionId}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Version specific identifier
        choices: [valueId]
        index: 4
      valueId:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: id
        short: Version specific identifier
        choiceOf: value
        index: 5
    required: [url]
  lastUpdated:
    url: lastUpdated
    short: When the resource version last changed
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: lastUpdated}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: When the resource version last changed
        choices: [valueInstant]
        index: 9
      valueInstant:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: instant
        short: When the resource version last changed
        choiceOf: value
        index: 10
    required: [url]
  profile:
    url: profile
    short: Profiles this resource claims to conform to
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: profile}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Profiles this resource claims to conform to
        choices: [valueUri]
        index: 14
      valueUri:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: uri
        short: Profiles this resource claims to conform to
        choiceOf: value
        index: 15
    required: [url]
  security:
    url: security
    short: Security Labels applied to this resource
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: security}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Security Labels applied to this resource
        choices: [valueCoding]
        index: 19
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: Security Labels applied to this resource
        choiceOf: value
        index: 20
    required: [url]
  tag:
    url: tag
    short: Tags applied to this resource
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: tag}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Tags applied to this resource
        choices: [valueCoding]
        index: 24
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: Tags applied to this resource
        choiceOf: value
        index: 25
    required: [url]
  _datatype:
    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
    type: Extension
    short: Data type name for Extension.value[x] from FHIR R2
    index: 26
    elements:
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        pattern: {type: String, value: Meta}
        choices: [valueString]
        index: 28
      valueString:
        type: string
        pattern: {type: String, value: Meta}
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 29
    required: [valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/1.0/StructureDefinition/extension-Extension.value
base: http://hl7.org/fhir/StructureDefinition/Extension|4.3.0
version: 0.0.1-snapshot-2
required: [url]