cardea.fhir.SampledData

class cardea.fhir.SampledData(dict_values=None)

A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.

Parameters
  • origin – The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.

  • period – The length of time between sampling times, measured in milliseconds.

  • factor – A correction factor that is applied to the sampled data points before they are added to the origin.

  • lowerLimit – The lower limit of detection of the measured points. This is needed if any of the data points have the value “L” (lower than detection limit).

  • upperLimit – The upper limit of detection of the measured points. This is needed if any of the data points have the value “U” (higher than detection limit).

  • dimensions – The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.

  • data – A series of data points which are decimal values separated by a single space (character u20). The special values “E” (error), “L” (below detection limit) and “U” (above detection limit) can also be used in place of a decimal value.

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