This
page
is
part
of
the
FHIR
Specification
(v0.0.82:
DSTU
1).
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
Detailed Descriptions for the elements in the Binary resource.
| Binary | |
| Definition |
A binary resource can contain any content, whether text, image, pdf, zip archive, etc. |
| Control | 1..1 |
| Requirements |
There are situations where it is useful or required to handle pure binary content using the same framework as other resources. |
| Comments |
Typically, Binary resources are used for handling content such as:
|
| Binary.contentType | |
| Definition |
MimeType of the binary content represented as a standard MimeType (BCP 13). |
| Control | 1..1 |
| Binding | MimeType: Required : BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) (The mime type of an attachment) |
| Type | code |
| Binary.content | |
| Definition |
The actual content, base64 encoded. |
| Control | 1..1 |
| Type | base64Binary |
| 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. |