InsulinInjection Class

Definition

Represents a health record item type that encapsulates an insulin injection.

public class InsulinInjection : Microsoft.Health.HealthRecordItem
Inheritance
InsulinInjection

Inherited Members

Microsoft.Health.HealthRecordItem

Remarks

This class represents any injection unit used to dispense insulin. The injector might or might not have a device component.

Constructors

InsulinInjection()

Creates a new instance of the InsulinInjection class with default values.

InsulinInjection(CodableValue, InsulinInjectionMeasurement)

Creates a new instance of the InsulinInjection class with the specified insulin type and amount.

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

Amount

Gets or sets the amount of insulin.

DeviceId

Gets or sets the identifier for the device.

InsulinType

Gets or sets the type of insulin being used in the injector.

Methods

ParseXml(IXPathNavigable)

Populates this InsulinInjection instance from the data in the XML.

ToString()

Gets a string representation of the insulin injection item.

WriteXml(XmlWriter)

Writes the insulin injection data to the specified XmlWriter.