# UsageContext

Canonical page: https://docs.ovok.com/fhir-elements/complex/usage-context

Base StructureDefinition for UsageContext Type: Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).

Complex data type in FHIR R4. Maturity: Not stated.

## Elements [#elements]

| **Element** | **Type** | **Cardinality** | **Description** |
| --- | --- | --- | --- |
| <span id="element-id"></span>`id` | [string](/fhir-elements/primitive/string) | `0..1` | Unique id for inter-element referencing |
| <span id="element-extension"></span>`extension` | [Extension](/fhir-elements/complex/extension) | `0..*` | Additional content defined by implementations |
| <span id="element-code"></span>`code` | [Coding](/fhir-elements/complex/coding) | `1..1` | Type of context being specified |
| <span id="element-value-x"></span>`value[x]` | [CodeableConcept](/fhir-elements/complex/codeable-concept), [Quantity](/fhir-elements/complex/quantity), [Range](/fhir-elements/complex/range), [Reference](/fhir-elements/complex/reference) | `1..1` | Value that defines the context |

## Reference [#reference]

Official FHIR R4 specification: [UsageContext](https://hl7.org/fhir/R4/datatypes.html#UsageContext).
