# Signature

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

Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.

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-type"></span>`type` | [Coding](/fhir-elements/complex/coding) | `1..*` | Indication of the reason the entity signed the object(s) |
| <span id="element-when"></span>`when` | [instant](/fhir-elements/primitive/instant) | `1..1` | When the signature was created |
| <span id="element-who"></span>`who` | [Reference](/fhir-elements/complex/reference) | `1..1` | Who signed |
| <span id="element-on-behalf-of"></span>`onBehalfOf` | [Reference](/fhir-elements/complex/reference) | `0..1` | The party represented |
| <span id="element-target-format"></span>`targetFormat` | [code](/fhir-elements/primitive/code) | `0..1` | The technical format of the signed resources |
| <span id="element-sig-format"></span>`sigFormat` | [code](/fhir-elements/primitive/code) | `0..1` | The technical format of the signature |
| <span id="element-data"></span>`data` | [base64Binary](/fhir-elements/primitive/base64-binary) | `0..1` | The actual signature content (XML DigSig. JWS, picture, etc.) |

## Reference [#reference]

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