ISCareTeamFilter.DateTo

Description

This filter property is used to load the care team members to the specified date.

Syntax

object.DateTo

Part Attribute Type Description
object Required
The object always implements the ISCareTeamFilter interface

Return Value

DateTime

Example

Display the number of the care team members filtered to the specified date.

Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams
Dim aMessage

Set aPatient = Profile.SelectPatient
set aCareTeamFilter = Profile.CreateCareTeamFilter

aCareTeamFilter.Patient = aPatient.Id
aCareTeamFilter.DateTo = #04/26/2019#

set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)

aMessage = "The number of the patient's care team members loaded " &_
  "by the filtering condition (Date To = " &_
  aCareTeamFilter.DateTo & ") is " & aCareTeams.Count
 
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Date To can be found in Clinical > Care Team > Date or Clinical > Medical Record > Care Team > Date.

Version information

Added in v7.8.0