AllergicEpisode Class

Definition

Represents a health record item type that encapsulates a single allergic episode.

public class AllergicEpisode : Microsoft.Health.HealthRecordItem
Inheritance
AllergicEpisode

Inherited Members

Microsoft.Health.HealthRecordItem

Remarks

An allergic episode is an occurrence of an allergy which is defined by the Allergy type. symptoms.

Constructors

AllergicEpisode()

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

AllergicEpisode(HealthServiceDateTime, CodableValue)

Creates a new instance of the AllergicEpisode class with the specified date and name.

Fields

TypeId

The unique identifier for the item type.

Properties

Name

Gets or sets the name of the allergy for which this episode is occurring.

Reaction

Gets or sets the reaction the person has.

Treatment

Gets or sets a possible treatment method for this allergy.

When

Gets or sets the date/time when the allergic episode occurred.

Methods

ParseXml(IXPathNavigable)

Populates this AllergicEpisode instance from the data in the XML.

ToString()

Gets a string representation of the allergic episode item.

WriteXml(XmlWriter)

Writes the allergic episode data to the specified XmlWriter.