ISReferralsFilter.ReferredDateTo

Description

This filter property is used to load the patient's referrals referred before the specified date and time.

Syntax

object.ReferredDateTo

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

Return Value

DateTime

Example

Display the number of the patient's referrals filtered before the specified date and time.

Dim aPatient
Dim aReferralsFilter
Dim aReferrals
Dim aMessage

Set aPatient = Profile.SelectPatient
set aReferralsFilter = Profile.CreateReferralsFilter

aReferralsFilter.Patient = aPatient.Id
aReferralsFilter.ReferredDateTo = #05/25/2019 12:00:00#

set aReferrals = Profile.LoadReferrals(aReferralsFilter)

aMessage = aMessage & "The number of the patient's referrals referred before " &_
  aReferralsFilter.ReferredDateTo & " is " & aReferrals.Count

Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface Referred Date To cannot be found.

Version information

Added in v7.8.0