Medication​V1 Class

Definition

Represents a medication health record item.

public class MedicationV1 : Microsoft.Health.HealthRecordItem
Inheritance

Inherited Members

Remarks

Note: Please use the new version of this data type instead of this version.

Constructors

Medication​V1()

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

Fields

Type​Id

The unique identifier for the item type.

Properties

Amount​Prescribed

Gets or sets the amount of medication prescribed.

Code

Gets one or more medication codes.

Date​Discontinued

Gets or sets the date the medication was discontinued.

Date​Filled

Gets or sets the date the medication was filled.

Date​Prescribed

Gets or sets the date the medication was prescribed.

Days​Supply

Gets or sets the days supply of the medication.

Dose​Unit

Gets or sets the dose unit for the medication prescribed.

Dose​Value

Gets or sets the dose value for the medication.

Duration

Gets or sets the duration for the medication.

Duration​Unit

Gets or sets the duration unit for the medication.

Frequency

Gets or sets the frequency for the medication.

Indication

Gets or sets the indication for the medication.

Instructions

Gets or sets the instructions for the medication.

Is​Prescribed

Gets whether medication is prescribed.

Name

Gets or sets the medication name.

Pharmacy

Gets or sets the pharmacy contact information.

Prescription​Duration

Gets or sets the duration of the prescription.

Prescription​Number

Gets or sets the prescription number for the medication.

Refills

Gets or sets the number of total refills for the medication.

Refills​Left

Gets or sets the number of remaining refills left of the medication.

Route

Gets or sets the route for the medication prescribed.

Strength​Unit

Gets or sets the strength unit for the medication prescribed.

Strength​Value

Gets or sets the strength value for the medication.

Substitution​Permitted

Gets a value indicating whether a substitution for the medication is permitted.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this medication instance from the data in the XML.

To​String()

Gets a string representation of the medication.

Write​Xml(​Xml​Writer)

Writes the medication data to the specified XmlWriter.