cardea.fhir.List

class cardea.fhir.List(dict_values=None)

A set of information summarized from a list of other resources.

Parameters
  • resourceType – This is a List resource

  • identifier – Identifier for the List assigned for business purposes outside the context of FHIR.

  • status – Indicates the current state of this list.

  • mode – How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.

  • title – A label for the list assigned by the author.

  • code – This code defines the purpose of the list - why it was created.

  • subject – The common subject (or patient) of the resources that are in the list, if there is one.

  • encounter – The encounter that is the context in which this list was created.

  • date – The date that the list was prepared.

  • source – The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.

  • orderedBy – What order applies to the items in the list.

  • note – Comments that apply to the overall list.

  • entry – Entries in this list.

  • emptyReason – If the list is empty, why the list is empty.

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