Health​Record​Item​Type​Definition Class

Definition

Describes the schema and structure of a health record item type.

public class HealthRecordItemTypeDefinition
Inheritance
HealthRecordItemTypeDefinition

Constructors

Health​Record​Item​Type​Definition()

Creates a new instance of the HealthRecordItemTypeDefinition class for use in testing.

Properties

Allow​Read​Only

Gets or sets a value indicating whether the Thing Type allows read-only instances.

Column​Definitions

Gets or sets the column definitions when dealing with the type as a single type table.

Effective​Date​XPath

Gets or sets the XPath to the effective date element in the TypeSpecificData.

Is​Creatable

Gets or sets a value indicating whether instances of the type are creatable.

Is​Immutable

Gets or sets a value indicating whether instances of the type are immutable.

Is​Singleton​Type

Gets or sets a value indicating whether only a single instance of the type can exist for each health record.

Name

Gets or sets the type name.

Supported​Transform​Names

Gets or sets the HealthVault transform names supported by the type.

Transform​Source

Gets or sets the HealthVault transforms supported by the type.

Type​Id

Gets or sets the type unique identifier.

Type​Schema

Gets the schema definition of the type.

Updated​End​Date​XPath

Gets or sets the XPath to the updated end date element in the TypeSpecificData.

Validation​Schema​Set

Gets the XmlSchemaSet that can be used to validate an XML fragment of this health record item type.

Versions

Gets or sets a collection of the version information for the type.

Xml​Schema​Definition

Gets or sets the XML schema definition.

Methods

Create​From​Xml(​XPath​Navigator)

Constructs an instance of HealthRecordItemTypeDefinition from the specified XML.

Get​Transform(​String)

Gets a compiled version of the specified transform.

Is​Item​Xml​Schema​Valid(​String)

Validates the type specific XML is valid based on item type definition schema.

Transform​Item(​String, ​Health​Record​Item)

Transforms the XML of the specified health record item using the specified transform.