cardea.fhir.Binary

class cardea.fhir.Binary(dict_values=None)

A binary resource can contain any content, whether text, image, pdf, zip archive, etc.

Parameters
  • resourceType – This is a Binary resource

  • contentType – MimeType of the binary content represented as a standard MimeType (BCP 13).

  • securityContext – Treat this binary as if it was this other resource for access control purposes.

  • content – The actual content, base64 encoded.

__init__(dict_values=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([dict_values])

Initialize self.

assert_type()

Checks class values follow set possible enumerations.

get_dataframe()

Returns dataframe from class attribute values.

get_eligible_relationships()

Returns class relationships for attributes that are used.

get_id()

Returns fhir class identifier.

get_relationships()

Returns class relationships.

set_attributes(dict_values)

Sets values to class attributes.