cardea.fhir.BodySite

class cardea.fhir.BodySite(dict_values=None)

Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.

Parameters
  • resourceType – This is a BodySite resource

  • identifier – Identifier for this instance of the anatomical location.

  • active – Whether this body site is in active use.

  • code – Named anatomical location - ideally coded where possible.

  • qualifier – Qualifier to refine the anatomical location. These include qualifiers for laterality, relative location, directionality, number, and plane.

  • description – A summary, charactarization or explanation of the anatomic location.

  • image – Image or images used to identify a location.

  • patient – The person to which the body site belongs.

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