# Reference

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

Base StructureDefinition for Reference Type: A reference from one resource to another.

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-reference"></span>`reference` | [string](/fhir-elements/primitive/string) | `0..1` | Literal reference, Relative, internal or absolute URL |
| <span id="element-type"></span>`type` | [uri](/fhir-elements/primitive/uri) | `0..1` | Type the reference refers to (e.g. "Patient") |
| <span id="element-identifier"></span>`identifier` | [Identifier](/fhir-elements/complex/identifier) | `0..1` | Logical reference, when literal reference is not known |
| <span id="element-display"></span>`display` | [string](/fhir-elements/primitive/string) | `0..1` | Text alternative for the resource |

## Reference [#reference]

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