DailyMedicationUsage Class

Definition

Represents a health record item type that encapsulates a person's medication and supplement usage for a day.

public class DailyMedicationUsage : Microsoft.Health.HealthRecordItem
Inheritance
DailyMedicationUsage

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

DailyMedicationUsage()

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

DailyMedicationUsage(HealthServiceDate, CodableValue, Int32)

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

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

DosesConsumed

Gets or sets the number of doses of the drug consumed in the day.

DrugForm

Gets or sets the form by which the drug/supplement is taken.

DrugName

Gets or sets the name of the drug.

IntendedDoses

Gets or sets the intended number of doses the person should take in a day.

PrescriptionType

Gets or sets the means by which the drug was determined to be needed.

PurposeOfUse

Gets or sets the purpose of the medication or supplement.

SingleDoseDescription

Gets or sets a description of a single dose.

UsageSchedule

Gets or sets the usage schedule.

When

Gets or sets the date of the medication usage.

Methods

ParseXml(IXPathNavigable)

Populates this DailyMedicationUsage instance from the data in the XML.

ToString()

Gets a string representation of the daily medication usage.

WriteXml(XmlWriter)

Writes the daily medication usage data to the specified XmlWriter.