Asthma​Inhaler​Use Class

Definition

Represents a health record item type that encapsulates a single use of an asthma inhaler.

public class AsthmaInhalerUse : Microsoft.Health.HealthRecordItem
Inheritance
AsthmaInhalerUse

Inherited Members

Remarks

A single use can consist of multiple doses if the prescription calls for it.

Constructors

Asthma​Inhaler​Use()

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

Asthma​Inhaler​Use(​Health​Service​Date​Time, ​Codable​Value, ​Int32)

Creates a new instance of the AsthmaInhalerUse class specifying the mandatory values.

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Device​Id

Gets or sets the identifier for the device used.

Dose​Count

Gets or sets the count of doses for each inhaler use.

Dose​Purpose

Gets or sets the target of the inhaler usage.

Drug

Gets or sets the drug being used in the inhaler.

Strength

Gets or sets the strength of the dosage for each inhaler use.

When

Gets or sets the date when the inhaler use occurred.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this AsthmaInhalerUse instance from the data in the XML.

To​String()

Gets a string representation of the asthma inhaler use item.

Write​Xml(​Xml​Writer)

Writes the asthma inhaler use data to the specified XmlWriter.