FHIR Extensions Pack
5.3.0-ballot-tc1 - (September 2025 Ballot) International flag

FHIR Extensions Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 5.3.0-ballot-tc1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-extensions/ and changes regularly. See the Directory of published versions

Extension: Intended Context

Official URL: http://hl7.org/fhir/StructureDefinition/intended-context Version: 5.3.0-ballot-tc1
Standards status: Trial-use Maturity Level: 2 Computable Name: IntendedContext

Indicates where the extension is intended to be used, like StructureDefinition.context, but is merely guidance. E.g An extension might be defined for use on any Element, but an author can use this indicate that the extension is intended to be used on a few particular DataTypes.

Context of Use

This extension may be used on the following element(s)

Usage info

Usages:

  • This Extension is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Changes since version 5.2.0:

  • New Content
  • Formal Views of Extension Content

    Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

    This structure is derived from Extension

    Summary

    Complex Extension: Indicates where the extension is intended to be used, like StructureDefinition.context, but is merely guidance. E.g An extension might be defined for use on any Element, but an author can use this indicate that the extension is intended to be used on a few particular DataTypes.

    • type: code: Defines how to interpret the expression that defines what the context of the extension is.
    • expression: string: An expression that defines where an extension can be used in resources.

    Maturity: 2

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Indicates where the extension is intended to be used
    ... Slices for extension Content/Rules for all slices
    .... extension:type 0..1 Extension fhirpath | element | extension
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: ExtensionContextType (required)
    .... extension:expression 0..1 Extension Where the extension can be used in instances
    ..... extension 0..0
    ..... url 1..1 uri "expression"
    ..... value[x] 1..1 string Value of extension
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/intended-context"
    ... value[x] 0..0

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Indicates where the extension is intended to be used
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 0..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:type 0..1 Extension fhirpath | element | extension
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: ExtensionContextType (required)
    .... extension:expression 0..1 Extension Where the extension can be used in instances
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "expression"
    ..... value[x] 1..1 string Value of extension
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/intended-context"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: Indicates where the extension is intended to be used, like StructureDefinition.context, but is merely guidance. E.g An extension might be defined for use on any Element, but an author can use this indicate that the extension is intended to be used on a few particular DataTypes.

    • type: code: Defines how to interpret the expression that defines what the context of the extension is.
    • expression: string: An expression that defines where an extension can be used in resources.

    Maturity: 2

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Indicates where the extension is intended to be used
    ... Slices for extension Content/Rules for all slices
    .... extension:type 0..1 Extension fhirpath | element | extension
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: ExtensionContextType (required)
    .... extension:expression 0..1 Extension Where the extension can be used in instances
    ..... extension 0..0
    ..... url 1..1 uri "expression"
    ..... value[x] 1..1 string Value of extension
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/intended-context"
    ... value[x] 0..0

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Indicates where the extension is intended to be used
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 0..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:type 0..1 Extension fhirpath | element | extension
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: ExtensionContextType (required)
    .... extension:expression 0..1 Extension Where the extension can be used in instances
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "expression"
    ..... value[x] 1..1 string Value of extension
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/intended-context"

    doco Documentation for this format

     

    Other representations of profile: CSV, Excel, Schematron

    Terminology Bindings

    PathConformanceValueSetURI
    Extension.extension:type.value[x]requiredExtensionContextType
    http://hl7.org/fhir/ValueSet/extension-context-type
    From the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

    R4B

    The extension is unchanged in R4B

    R4

    The extension is unchanged in R4

    R3

    The extension is unchanged in R3

    Search Parameters for this Extension

    (none found)