This
page
is
part
of
the
FHIR
Specification
(v3.3.0:
(v4.0.1:
R4
Ballot
2).
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
R2
FHIR
Infrastructure
Work
Group
|
Maturity
Level
:
|
Normative (from v4.0.0) | Security Category : Not Classified | Compartments : Not linked to any defined compartments |
Detailed Descriptions for the elements in the Binary resource.
| Binary | |
| Element Id | Binary |
| Definition |
A
|
|
|
|
| Type | Resource |
| Requirements |
There are situations where it is useful or required to handle pure binary content using the same framework as other resources. |
|
|
Typically, Binary resources are used for handling content such as:
|
| Binary.contentType | |
| Element Id | Binary.contentType |
| Definition |
MimeType of the binary content represented as a standard MimeType (BCP 13). |
|
|
1..1 |
| Terminology Binding |
MimeType
|
| Type | code |
| Summary | true |
| Binary.securityContext | |
| Element Id | Binary.securityContext |
| Definition |
|
|
|
0..1 |
| Type | Reference ( Any ) |
| Summary | true |
| Comments | Very often, a server will also know of a resource that references the binary, and can automatically apply the appropriate access rules based on that reference. However, there are some circumstances where this is not appropriate, e.g. the binary is uploaded directly to the server without any linking resource, the binary is referred to from multiple different resources, and/or the binary is content such as an application logo that has less protection than any of the resources that reference it. |
|
|
|
| Element Id |
|
| Definition |
The actual content, base64 encoded. |
|
|
|
| Type | base64Binary |
| Summary |
|
| Comments |
If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type. |