cardea.fhir.Resource

class cardea.fhir.Resource(dict_values=None)

This is the base resource type for everything.

Parameters
  • id – The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

  • meta – The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.

  • implicitRules – A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.

  • language – The base language in which the resource is written.

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