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

This page is part of the FHIR Core Extensions Registry (v5.3.0-ballot-tc1: Release 5.3) based on FHIR (HL7® FHIR® Standard) v5.0.0. This version is a pre-release. The current official version is 5.2.0. For a full list of available versions, see the Directory of published versions

Extension: Artifact use context

Official URL: http://hl7.org/fhir/StructureDefinition/artifact-useContext Version: 5.3.0-ballot-tc1
Standards status: Trial-use Maturity Level: 2 Responsible: HL7 International / Clinical Decision Support Computable Name: ArtifactUseContext
Other Identifiers: OID:2.16.840.1.113883.4.642.5.1761

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, …) or may be references to specific programs (insurance plans, studies, …) and may be used to assist with indexing and searching for appropriate artifact instances.

This extension is defined to support representing artifact metadata on resources that are not already canonical resources that have the corresponding element, and that behave in a definitional way. For example, it would not be appropriate to use this extension on a patient-specific resource such as MedicationRequest or CarePlan. For resources where this element was added in R5, the cross-version extension should be used rather than this extension (ConditionDefinition,ObservationDefinition,SpecimenDefinition,SubscriptionTopic).

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:

  • The resource metadata has changed (purpose)
  • 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

    Simple Extension with the type UsageContext: The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate artifact instances.

    Maturity: 2

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension The context that the content is intended to support
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"
    ... value[x] 1..1 UsageContext Value of extension

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension The context that the content is intended to support
    ... id 0..1 id Unique id for inter-element referencing
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Simple Extension with the type UsageContext: The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate artifact instances.

    Maturity: 2

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension The context that the content is intended to support
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"
    ... value[x] 1..1 UsageContext Value of extension

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension The context that the content is intended to support
    ... id 0..1 id Unique id for inter-element referencing
    ... extension 0..0
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"

    doco Documentation for this format

     

    Other representations of profile: CSV, Excel, Schematron

    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 represented a little differently in R4B:

    • Adjust the extension context ArtifactAssessment to Basic
    • Adjust the extension context ConditionDefinition to Basic
    • Note: Extensions that have been modified for R4B are still draft while real-world experience is collected
    Name Flags Card. Type Description & Constraints      Filter: Filters doco
    . . Extension 0..* Extension The context that the content is intended to support
    . . . extension 0 .. 0
    . . . url 1 .. 1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"
    . . . value[x] 1.. 1 UsageContext Value of extension

    doco Documentation for this format

    R4

    The extension is represented a little differently in R4:

    • Adjust the extension context ArtifactAssessment to Basic
    • Adjust the extension context ClinicalUseDefinition to Basic
    • Adjust the extension context ConditionDefinition to Basic
    • Adjust the extension context SubstanceDefinition to Basic
    • Adjust the extension context SubscriptionTopic to Basic
    • Note: Extensions that have been modified for R4 are still draft while real-world experience is collected
    Name Flags Card. Type Description & Constraints      Filter: Filters doco
    . . Extension 0..* Extension The context that the content is intended to support
    . . . extension 0 .. 0
    . . . url 1 .. 1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"
    . . . value[x] 1.. 1 UsageContext Value of extension

    doco Documentation for this format

    R3

    The extension is represented a little differently in R3:

    • Adjust the extension context ArtifactAssessment to Basic
    • Adjust the extension context ClinicalUseDefinition to Basic
    • Adjust the extension context ConditionDefinition to Basic
    • Adjust the extension context DeviceDefinition to Basic
    • Adjust the extension context MedicationKnowledge to Basic
    • Adjust the extension context ObservationDefinition to Basic
    • Adjust the extension context SpecimenDefinition to Basic
    • Adjust the extension context SubstanceDefinition to Basic
    • Adjust the extension context SubscriptionTopic to Basic
    • Replace the type UsageContext with a set of extensions for the content of the type along with the _datatype extension
    • Note: Extensions that have been modified for R3 are still draft while real-world experience is collected
    Name Flags Card. Type Description & Constraints      Filter: Filters doco
    . . Extension 0..* Extension The context that the content is intended to support
    . . . Slices for extension 0 ..* Extension Extension
    Slice: Unordered, Open by value:url
    . . . . extension:_datatype 1..1 (Complex) DataType name 'UsageContext' from R5
    URL: http://hl7.org/fhir/StructureDefinition/_datatype
    . . . . . value[x] 1.. 1 string Value of extension
    Fixed Value: UsageContext
    . . . . extension:code 1..1 Extension Type of context being specified
    . . . . . extension 0 .. 0
    . . . . . url 1 .. 1 uri "code"
    . . . . . value[x] 1.. 1 Coding Value of extension
    Binding: UsageContextType ( extensible ) : A code that specifies a type of context being specified by a usage context.
    . . . . extension:value[x] 1..1 Extension Value that defines the context
    . . . . . extension 0 .. 0
    . . . . . url 1 .. 1 uri "value[x]"
    . . . . . value[x] 1.. 1 Value of extension
    Binding: ContextOfUseValueSet ( example ) : A code that defines the specific value for the context being specified.
    . . . . . . valueCodeableConcept CodeableConcept
    . . . . . . valueQuantity Quantity
    . . . . . . valueRange Range
    . . . . . . valueReference Reference ( PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization )
    . . . url 1 .. 1 uri "http://hl7.org/fhir/StructureDefinition/artifact-useContext"
    . . . value[x] 0 .. 0

    doco Documentation for this format

    Search Parameters for this Extension

    (none found)