Insulin​Injection​Use Class

Definition

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

public class InsulinInjectionUse : Microsoft.Health.HealthRecordItem
Inheritance
InsulinInjectionUse

Inherited Members

Remarks

The use of an insulin injection unit might require more than one dose based on the prescription.

Constructors

Insulin​Injection​Use()

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

Insulin​Injection​Use(​Health​Service​Date​Time, ​Codable​Value, ​Insulin​Injection​Measurement)

Creates a new instance of the InsulinInjectionUse class with the specified date/time, insulin type, and amount.

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Amount

Gets or sets the amount of insulin.

Device​Id

Gets or sets the identifier for the device.

Insulin​Type

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

When

Gets or sets the date/time when the insulin injection use occurred.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this InsulinInjectionUse instance from the data in the XML.

To​String()

Gets a string representation of the insulin injection use item.

Write​Xml(​Xml​Writer)

Writes the insulin injection use data to the specified XmlWriter.