PrivatecontentBinary.contentType Element
Private OptionalsecurityBinary.securityContext Element
FHIR Specification
Reference
Private OptionaldataBinary.data Element
FHIR Specification
base64BinaryStaticparseParse the provided Binary JSON to instantiate the Binary data model.
JSON representing FHIR Binary
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to Binary
Binary data model or undefined for Binary
JsonError if the provided JSON is not a valid JSON object
the contentType property value as a CodeType object if defined; else an empty CodeType object
Assigns the provided PrimitiveType value to the contentType property.
the contentType value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the contentType property exists and has a value; false otherwise
the contentType property value as a fhirCode if defined; else null
Assigns the provided primitive value to the contentType property.
the contentType value
this
PrimitiveTypeError for invalid primitive types
true if the contentType property exists and has a value; false otherwise
the securityContext property value as a Reference object; else an empty Reference object
Assigns the provided SecurityContext object value to the securityContext property.
the securityContext object value
this
InvalidTypeError for invalid data type or reference value
true if the securityContext property exists and has a value; false otherwise
the data property value as a Base64BinaryType object if defined; else an empty Base64BinaryType object
Assigns the provided PrimitiveType value to the data property.
the data value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the data property exists and has a value; false otherwise
the data property value as a fhirBase64Binary if defined; else undefined
Assigns the provided primitive value to the data property.
the data value
this
PrimitiveTypeError for invalid primitive types
true if the data property exists and has a value; false otherwise
the FHIR type defined in the FHIR standard
true if the instance is empty; false otherwise
true if and only if the data model has required fields (min cardinality > 0)
and at least one of those required fields in the instance is empty; false otherwise
Creates a copy of the current instance.
the a new instance copied from the current instance
the JSON value or undefined if the instance is empty
the FHIR resource type as defined by the FHIR specification
the id property value as a PrimitiveType
Assigns the provided PrimitiveType value to the id property.
the id value
this
true if the id property exists and has a value; false otherwise
the id property value as a primitive value
Assigns the provided primitive value to the id property.
the id value
this
PrimitiveTypeError for invalid primitive types
true if the id property exists and has a value; false otherwise
the meta property value as a Meta
Assigns the provided value to the meta property.
the meta value
this
true if the meta property exists and has a value; false otherwise
the implicitRules property value as a PrimitiveType
Assigns the provided PrimitiveType value to the implicitRules property.
the implicitRules value
this
true if the implicitRules property exists and has a value; false otherwise
the implicitRules property value as a primitive value
Assigns the provided primitive value to the implicitRules property.
the implicitRules value
this
PrimitiveTypeError for invalid primitive types
true if the system property exists and has a value; false otherwise
the language property value as a PrimitiveType
Assigns the provided PrimitiveType value to the language property.
the language value
this
true if the language property exists and has a value; false otherwise
the language property value as a primitive value
Assigns the provided primitive value to the language property.
the language value
this
PrimitiveTypeError for invalid primitive types
true if the language property exists and has a value; false otherwise
true if the instance is a FHIR resource; false otherwise
true if the instance is a FHIR complex or primitive datatype; false otherwise
true if the instance is a FHIR complex datatype; false otherwise
true if the instance is a FHIR primitive datatype; false otherwise
true if the instance is a FHIR primitive boolean datatype; false otherwise
true if the instance is a FHIR primitive string-based datatype; false otherwise
true if the instance is a FHIR primitive number-based datatype; false otherwise
true if the instance is a FHIR primitive bigint-based datatype; false otherwise
true if the instance is a FHIR primitive datetime-based datatype; false otherwise
ProtectedcopyProtectedCopies the current instance's elements into the provided object.
the copied instance
Binary Class
Remarks
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.
There are situations where it is useful or required to handle pure binary content using the same framework as other resources.
FHIR Specification
See
FHIR Binary