cardea.fhir.Observation

class cardea.fhir.Observation(dict_values=None)

Measurements and simple assertions made about a patient, device or other subject.

Parameters
  • resourceType – This is a Observation resource

  • identifier – A unique identifier assigned to this observation.

  • basedOn – A plan, proposal or order that is fulfilled in whole or in part by this event.

  • status – The status of the result value.

  • category – A code that classifies the general type of observation being made.

  • code – Describes what was observed. Sometimes this is called the observation “name”.

  • subject – The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.

  • context – The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.

  • effectiveDateTime – The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the “physiologically relevant time”. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.

  • effectivePeriod – The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the “physiologically relevant time”. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.

  • issued – The date and time this observation was made available to providers, typically after the results have been reviewed and verified.

  • performer – Who was responsible for asserting the observed value as “true”.

  • valueQuantity – The information determined as a result of making the observation, if the information has a simple value.

  • valueCodeableConcept – The information determined as a result of making the observation, if the information has a simple value.

  • valueString – The information determined as a result of making the observation, if the information has a simple value.

  • valueBoolean – The information determined as a result of making the observation, if the information has a simple value.

  • valueRange – The information determined as a result of making the observation, if the information has a simple value.

  • valueRatio – The information determined as a result of making the observation, if the information has a simple value.

  • valueSampledData – The information determined as a result of making the observation, if the information has a simple value.

  • valueAttachment – The information determined as a result of making the observation, if the information has a simple value.

  • valueTime – The information determined as a result of making the observation, if the information has a simple value.

  • valueDateTime – The information determined as a result of making the observation, if the information has a simple value.

  • valuePeriod – The information determined as a result of making the observation, if the information has a simple value.

  • dataAbsentReason – Provides a reason why the expected value in the element Observation.value[x] is missing.

  • interpretation – The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.

  • comment – May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.

  • bodySite – Indicates the site on the subject’s body where the observation was made (i.e. the target site).

  • method – Indicates the mechanism used to perform the observation.

  • specimen – The specimen that was used when this observation was made.

  • device – The device used to generate the observation data.

  • referenceRange – Guidance on how to interpret the value by comparison to a normal or recommended range.

  • related – A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.

  • component – Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.

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