Represents a health record item type that encapsulates a single allergic episode.
public class AllergicEpisode : Microsoft.Health.HealthRecordItem
An allergic episode is an occurrence of an allergy which is defined by the Allergy type. symptoms.
Creates a new instance of the AllergicEpisode class with default values.
Creates a new instance of the AllergicEpisode class with the specified date and name.
The unique identifier for the item type.
Gets or sets the name of the allergy for which this episode is occurring.
Gets or sets the reaction the person has.
Gets or sets a possible treatment method for this allergy.
Gets or sets the date/time when the allergic episode occurred.
Populates this AllergicEpisode instance from the data in the XML.
Gets a string representation of the allergic episode item.
Writes the allergic episode data to the specified XmlWriter.