cardea.fhir.AuditEvent

class cardea.fhir.AuditEvent(dict_values=None)

A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.

Parameters
  • resourceType – This is a AuditEvent resource

  • type – Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.

  • subtype – Identifier for the category of event.

  • action – Indicator for type of action performed during the event that generated the audit.

  • recorded – The time when the event occurred on the source.

  • outcome – Indicates whether the event succeeded or failed.

  • outcomeDesc – A free text description of the outcome of the event.

  • purposeOfEvent – The purposeOfUse (reason) that was used during the event being recorded.

  • agent – An actor taking an active role in the event or activity that is logged.

  • source – The system that is reporting the event.

  • entity – Specific instances of data or objects that have been accessed.

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