Condition Class

Definition

Represents a health record item type that encapsulates a single condition, issue, or problem.

public class Condition : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

Condition()

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

Condition(CodableValue)

Creates a new instance of the Condition class with the specified name.

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

Name

Gets or sets the name of the condition.

OnsetDate

Gets or sets the approximate date of the first occurrence of the condition.

Status

Gets or sets the status of the condition.

StopDate

Gets or sets the approximate date the condition resolved.

StopReason

Gets or sets how the condition was resolved.

Methods

ParseXml(IXPathNavigable)

Populates this Condition instance from the data in the XML.

ToString()

Gets a string representation of the condition item.

WriteXml(XmlWriter)

Writes the condition data to the specified XmlWriter.