cardea.fhir.Bundle

class cardea.fhir.Bundle(dict_values=None)

A container for a collection of resources.

Parameters
  • resourceType – This is a Bundle resource

  • identifier – A persistent identifier for the batch that won’t change as a batch is copied from server to server.

  • type – Indicates the purpose of this bundle - how it was intended to be used.

  • total – If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).

  • link – A series of links that provide context to this bundle.

  • entry – An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).

  • signature – Digital Signature - base64 encoded. XML-DSIg or a JWT.

__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.