ext-R3-Extension.value
type: StructureDefinition
node role: treeRoot
id:
  v: ext-R3-Extension.value
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition ext-R3-Extension.value Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..1 Extension(4.0.1) Value of extension #xD; url 1..1 uri "http://hl7.org/fhir/3.0/StructureDefinition/extension-Extension.value" #xD; value[x] 0..1 Value of extension #xD; valueBase64Binary base64Binary #xD; valueBoolean boolean #xD; valueCode code #xD; valueDate date #xD; <span title="Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.">valueDateTime dateTime #xD; valueDecimal decimal #xD; valueId id #xD; valueInstant instant #xD; valueInteger integer #xD; valueMarkdown markdown #xD; valueOid oid #xD; 0)">valuePositiveInt positiveInt #xD; valueString string #xD; valueTime time #xD; = 0)">valueUnsignedInt unsignedInt #xD; valueUri uri #xD; valueAddress Address #xD; valueAge Age #xD; valueAnnotation Annotation #xD; valueAttachment Attachment #xD; valueCodeableConcept CodeableConcept #xD; valueCoding Coding #xD; valueContactPoint ContactPoint #xD; valueCount Count #xD; valueDistance Distance #xD; valueDuration Duration #xD; valueHumanName HumanName #xD; valueIdentifier Identifier #xD; valueMoney Money #xD; valuePeriod Period #xD; valueQuantity Quantity #xD; valueRange Range #xD; valueRatio Ratio #xD; valueReference Reference(Any) #xD; valueSampledData SampledData #xD; valueSignature Signature #xD; <span title="Base StructureDefinition for Timing Type: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medication…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value: code
    v: fhir
extension:
  extension:
    url:
      v: packageId
    value: id
      v: hl7.fhir.uv.xver-r3.r4
  extension:
    url:
      v: version
    value: string
      v: 0.0.1-snapshot-2
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  value: integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value: canonical
        v: http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4
        link: http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  value: code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value: canonical
        v: http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4
        link: http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4
url:
  v: http://hl7.org/fhir/3.0/StructureDefinition/extension-Extension.value
version:
  v: 0.0.1-snapshot-2
name:
  v: Ext_R3_Extension_value
title:
  v: Cross-version Extension for R3.Extension.value[x] for use in FHIR R4
status:
  v: active
experimental:
  v: false
date:
  v: 2025-09-01T22:36:04.560031+10:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This cross-version extension represents Extension.value[x] from http://hl7.org/fhir/StructureDefinition/Extension|3.0.2 for use in FHIR R4.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
    display:
      v: World
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: complex-type
abstract:
  v: false
context:
  type:
    v: element
  expression:
    v: Extension.value[x]
type:
  v: Extension
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
  link: 4.0
  link: .1
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: Extension
    path:
      v: Extension
    short:
      v: Value of extension
    definition:
      v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
    comment:
      v: `Extension.value[x]` maps to R4 `Extension.value[x]`. So is mapped as RelatedTo.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Extension
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
        link: 4.0
        link: .1
    constraint:
      key:
        v: ext-1
      severity:
        v: error
      human:
        v: Must have either extensions or value[x], not both
      expression:
        v: extension.exists() != value.exists()
      xpath:
        v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      source:
        v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
        link: 4.0
        link: .1
    is modifier:
      v: false
  element:
    id:
      v: Extension.id
    path:
      v: Extension.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: url
      code:
        v: http://hl7.org/fhirpath/System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim

url
v: string

v: n/a

id:
  v: Extension.extension
path:
  v: Extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    link: 4.0
    link: .1
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    link: 4.0
    link: .1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.url
path:
  v: Extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: uri
  code:
    v: http://hl7.org/fhirpath/System.String
fixed: uri
  v: http://hl7.org/fhir/3.0/StructureDefinition/extension-Extension.value
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
comment:
  v: `Extension.value[x]` maps to R4 `Extension.value[x]`. So is mapped as RelatedTo.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
type:
  code:
    v: boolean
type:
  code:
    v: code
type:
  code:
    v: date
type:
  code:
    v: dateTime
type:
  code:
    v: decimal
type:
  code:
    v: id
type:
  code:
    v: instant
type:
  code:
    v: integer
type:
  code:
    v: markdown
type:
  code:
    v: oid
type:
  code:
    v: positiveInt
type:
  code:
    v: string
type:
  code:
    v: time
type:
  code:
    v: unsignedInt
type:
  code:
    v: uri
type:
  code:
    v: Address
type:
  code:
    v: Age
type:
  code:
    v: Annotation
type:
  code:
    v: Attachment
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Coding
type:
  code:
    v: ContactPoint
type:
  code:
    v: Count
type:
  code:
    v: Distance
type:
  code:
    v: Duration
type:
  code:
    v: HumanName
type:
  code:
    v: Identifier
type:
  code:
    v: Money
type:
  code:
    v: Period
type:
  code:
    v: Quantity
type:
  code:
    v: Range
type:
  code:
    v: Ratio
type:
  code:
    v: Reference
type:
  code:
    v: SampledData
type:
  code:
    v: Signature
type:
  code:
    v: Timing
type:
  code:
    v: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    link: 4.0
    link: .1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

element:
  id:
    v: Extension
  path:
    v: Extension
  short:
    v: Value of extension
  definition:
    v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
  comment:
    v: `Extension.value[x]` maps to R4 `Extension.value[x]`. So is mapped as RelatedTo.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.url
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: uri
    v: http://hl7.org/fhir/3.0/StructureDefinition/extension-Extension.value
element:
  id:
    v: Extension.value[x]
  path:
    v: Extension.value[x]
  short:
    v: Value of extension
  definition:
    v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
  comment:
    v: `Extension.value[x]` maps to R4 `Extension.value[x]`. So is mapped as RelatedTo.
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: base64Binary
  type:
    code:
      v: boolean
  type:
    code:
      v: code
  type:
    code:
      v: date
  type:
    code:
      v: dateTime
  type:
    code:
      v: decimal
  type:
    code:
      v: id
  type:
    code:
      v: instant
  type:
    code:
      v: integer
  type:
    code:
      v: markdown
  type:
    code:
      v: oid
  type:
    code:
      v: positiveInt
  type:
    code:
      v: string
  type:
    code:
      v: time
  type:
    code:
      v: unsignedInt
  type:
    code:
      v: uri
  type:
    code:
      v: Address
  type:
    code:
      v: Age
  type:
    code:
      v: Annotation
  type:
    code:
      v: Attachment
  type:
    code:
      v: CodeableConcept
  type:
    code:
      v: Coding
  type:
    code:
      v: ContactPoint
  type:
    code:
      v: Count
  type:
    code:
      v: Distance
  type:
    code:
      v: Duration
  type:
    code:
      v: HumanName
  type:
    code:
      v: Identifier
  type:
    code:
      v: Money
  type:
    code:
      v: Period
  type:
    code:
      v: Quantity
  type:
    code:
      v: Range
  type:
    code:
      v: Ratio
  type:
    code:
      v: Reference
  type:
    code:
      v: SampledData
  type:
    code:
      v: Signature
  type:
    code:
      v: Timing
  type:
    code:
      v: Meta