ISReferral.GetDTModified

Description

The date and time the referral was last modified.

Syntax

object.GetDTModified()

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

Return Value

DateTime

Example

Some information about the referral, including the date and time it was last modified.

Dim aPatient
Dim aReferralsFilter
Dim aReferrals
Dim aReferral
Dim aMessage

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

aReferralsFilter.Patient = aPatient.Id

set aReferrals = Profile.LoadReferrals(aReferralsFilter)
aMessage = aMessage & "Refferals Count = " & aReferrals.Count

aMessage = aMessage & vbNewLine &_
  "Referred on:" & vbTab & "Refferred to:" & vbTab & "Modified on:"

for i = 0 to aReferrals.Count - 1 
  set aReferral = aReferrals.Item(i)       
  aMessage = aMessage & vbNewLine &_
    aReferral.ReferredOn & "   " & vbTab &_
    aReferral.ReferedToAsString & vbTab &_
    aReferral.GetDTModified
next 

Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface Get DTModified cannot be found.

Version information

Added in v8.4.0