ISApproval.EventDate

Description

The event date of the approval loaded on the basis of the selected filter.

Syntax

object.EventDate

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

Return Value

DateTime

Example

Display the number of the approvals loaded on the basis of the selected filter and some information about them, including their event dates.

Dim aPatient
Dim aFilter
Dim aApproval
Dim aApprovals
Dim aMessage
Dim i

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateApprovalsFilter
aFilter.Patient = aPatient
set aApprovals = Profile.LoadApprovals(aFilter)

aMessage = "Approvals Count = " & aApprovals.Count
for i = 0 to aApprovals.Count - 1
  set aApproval = aApprovals.Item(i)
  aMessage = aMessage & vbNewLine & "The event date of the approval '" &_
    aApproval.Description & "' for " & aPatient.SurnameFirstName & " is " & aApproval.EventDate
next      

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Event Date can be found in Patient > Alter Patient > Approvals > Open selected approval > Date of Event or in Financial > Approvals > Approvals > Open selected approval > Date of Event.

Version information

Added in v7.8.0