Date​Range​Set​Definition Class

Definition

Defines a set of health record items for authorization purposes whose effective date falls within a specified range.

public class DateRangeSetDefinition : Microsoft.Health.AuthorizationSetDefinition
Inheritance
DateRangeSetDefinition

Inherited Members

Microsoft.Health.AuthorizationSetDefinition

Remarks

Permissions on data in a person's health records are always included in an authorization set (whether implicitly via their type or effective date, or explicitly by setting the system set.) This class serves as a set of health record items that have effective dates falling within the specified range. Other types of authorization sets include TypeIdSetDefinition.

Constructors

Date​Range​Set​Definition(​Date​Time, ​Date​Time)

Creates a new instance of the DateRangeSetDefinition class with the specified minimum and maximum dates.

Properties

Date​Max

Gets the maximum effective date of the health record items in this set.

Date​Min

Gets the minimum effective date of the health record items in this set.

Methods

Get​Xml()

Gets the XML representation of the set.