cardea.fhir.Ratio

class cardea.fhir.Ratio(dict_values=None)[source]

A relationship of two Quantity values - expressed as a numerator and a denominator.

Parameters
  • numerator – The value of the numerator.

  • denominator – The value of the denominator.

__init__(dict_values=None)[source]

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.