ExtensionContext

How an extension context is interpreted.

This value set has an inline code system http://hl7.org/fhir/extension-context, which defines the following codes:

CodeDisplayDefinition
resource ResourceThe context is all elements matching a particular resource element path.
datatype DatatypeThe context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name).
mapping MappingThe context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used.
extension ExtensionThe context is a particular extension from a particular profile, a uri that identifies the extension definition.