RespiratoryRateMeasurement Class

Definition

Represents a respiratory rate and a display value associated with the measurement.

public class RespiratoryRateMeasurement : Microsoft.Health.ItemTypes.Measurement<double>
Inheritance

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Remarks

In HealthVault, respiratory rate measurements have values and display values. All values are stored in a base unit of breaths per minute. An application can take a respiratory rate value using any scale the application chooses and can store the user-entered value as the display value, but the respiratory value must be converted to breaths/min to be stored in HealthVault.

Constructors

RespiratoryRateMeasurement()

Creates a new instance of the RespiratoryRateMeasurement class with empty values.

RespiratoryRateMeasurement(Double)

Creates a new instance of the RespiratoryRateMeasurement class with the specified value in breaths per minute.

RespiratoryRateMeasurement(Double, DisplayValue)

Creates a new instance of the RespiratoryRateMeasurement class with the specified value in breaths per minute and optional display value.

Methods

AssertMeasurementValue(Double)

Verifies the value is a legal respiratory rate value in breaths/min.

GetValueString(Double)

Gets a string representation of the respiratory rate in the base units.

ParseValueXml(XPathNavigator)

Populates the data for the respiratory rate from the XML.

WriteValueXml(XmlWriter)

Writes the respiratory rate to the specified XML writer.