AsthmaInhalerUse 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

Microsoft.Health.HealthRecordItem

Remarks

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

Constructors

AsthmaInhalerUse()

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

AsthmaInhalerUse(HealthServiceDateTime, CodableValue, Int32)

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

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

DeviceId

Gets or sets the identifier for the device used.

DoseCount

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

DosePurpose

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

ParseXml(IXPathNavigable)

Populates this AsthmaInhalerUse instance from the data in the XML.

ToString()

Gets a string representation of the asthma inhaler use item.

WriteXml(XmlWriter)

Writes the asthma inhaler use data to the specified XmlWriter.