# Binary

Canonical page: https://docs.ovok.com/api/fhir/r4/binary

A resource that represents the data of a single raw artifact as digital content accessible in its native format. A Binary resource can contain any content, whether text, image, pdf, zip archive, etc.

These interaction paths describe standard FHIR R4 patterns. Availability can depend on the API capabilities enabled for your Ovok project.

| **Interaction** | **Method** | **Path** |
| --- | --- | --- |
| Read | `GET` | `/fhir/R4/Binary/[id]` |
| Vread | `GET` | `/fhir/R4/Binary/[id]/_history/[vid]` |
| Update | `PUT` | `/fhir/R4/Binary/[id]` |
| Patch | `PATCH` | `/fhir/R4/Binary/[id]` |
| Delete | `DELETE` | `/fhir/R4/Binary/[id]` |
| Create | `POST` | `/fhir/R4/Binary` |
| Search | `GET` | `/fhir/R4/Binary` |
| History | `GET` | `/fhir/R4/Binary/[id]/_history` |

## Top-level elements [#top-level-elements]

| **Element** | **Type** | **Cardinality** | **Description** |
| --- | --- | --- | --- |
| <span id="element-id"></span>`id` | [string](/fhir-elements/primitive/string) | `0..1` | Logical id of this artifact |
| <span id="element-meta"></span>`meta` | [Meta](/fhir-elements/complex/meta) | `0..1` | Metadata about the resource |
| <span id="element-implicit-rules"></span>`implicitRules` | [uri](/fhir-elements/primitive/uri) | `0..1` | A set of rules under which this content was created |
| <span id="element-language"></span>`language` | [code](/fhir-elements/primitive/code) | `0..1` | Language of the resource content |
| <span id="element-content-type"></span>`contentType` | [code](/fhir-elements/primitive/code) | `1..1` | MimeType of the binary content |
| <span id="element-security-context"></span>`securityContext` | [Reference](/fhir-elements/complex/reference) | `0..1` | Identifies another resource to use as proxy when enforcing access control |
| <span id="element-data"></span>`data` | [base64Binary](/fhir-elements/primitive/base64-binary) | `0..1` | The actual content |

## Resource-specific search parameters [#resource-specific-search-parameters]

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| — | — | No resource-specific search parameters are listed in the package. |

## Reference [#reference]

Official FHIR R4 spec: [Binary](https://hl7.org/fhir/R4/binary.html).  
Maturity: Trial Use 5 (FMM 5).
