cardea.fhir.Group

class cardea.fhir.Group(dict_values=None)

Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized; i.e. a collection of entities that isn’t an Organization.

Parameters
  • resourceType – This is a Group resource

  • identifier – A unique business identifier for this group.

  • active – Indicates whether the record for the group is available for use or is merely being retained for historical purposes.

  • type – Identifies the broad classification of the kind of resources the group includes.

  • actual – If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.

  • code – Provides a specific type of resource the group includes; e.g. “cow”, “syringe”, etc.

  • name – A label assigned to the group for human identification and communication.

  • quantity – A count of the number of resource instances that are part of the group.

  • characteristic – Identifies the traits shared by members of the group.

  • member – Identifies the resource instances that are members of the group.

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