InsulinInjectionMeasurement Class

Definition

Represents an insulin injection measurement.

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

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Remarks

In HealthVault, insulin injection readings have values and display values. All values are stored in a base unit of IE. An application can take an insulin injection value using any scale the application chooses and can store the user-entered value as the display value, but the insulin injection value must be converted to IE to be stored in HealthVault.

Constructors

InsulinInjectionMeasurement()

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

InsulinInjectionMeasurement(Double)

Creates a new instance of the InsulinInjectionMeasurement class with the specified value in IE (1/100mL).

InsulinInjectionMeasurement(Double, DisplayValue)

Creates a new instance of the InsulinInjectionMeasurement class with the specified value in IE (1/100mL) and display value.

Methods

AssertMeasurementValue(Double)

Verifies that the value is a legal insulin injection measurement in IE (1/100mL).

GetValueString(Double)

Gets a string representation of the insulin injection in the base units.

ParseValueXml(XPathNavigator)

Populates the data for the insulin injection from the XML.

WriteValueXml(XmlWriter)

Writes the insulin injection to the specified XML writer.