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(​Codable​Value)

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

Fields

Type​Id

Retrieves the unique identifier for the item type.

Properties

Name

Gets or sets the name of the condition.

Onset​Date

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

Status

Gets or sets the status of the condition.

Stop​Date

Gets or sets the approximate date the condition resolved.

Stop​Reason

Gets or sets how the condition was resolved.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this Condition instance from the data in the XML.

To​String()

Gets a string representation of the condition item.

Write​Xml(​Xml​Writer)

Writes the condition data to the specified XmlWriter.