cardea.fhir.Narrative

class cardea.fhir.Narrative(dict_values=None)

A human-readable formatted text, including images.

Parameters
  • status – The status of the narrative - whether it’s entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

  • div – The actual narrative content, a stripped down version of XHTML.

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