ISApprovalForm.Date

Description

The date of the opened approval form.

Syntax

object.Date

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

Return Value

DateTime

Example

Display some information about the opened approval form, including its date.

Dim aPatientId 
Dim aForm
Dim aFormInfo

aPatientId = Profile.SelectPatient.Id

set aForm = Profile.GetApprovalForm(0, aPatientId)

if aForm is nothing then
  Profile.MsgBox("Approval Form is not opened")
  exit sub 
end if 

aFormInfo = "AgencyCode: " & aForm.AgencyCode & vbNewLine &_
  "Description: " & aForm.Description & vbNewLine &_
  "Date: " & aForm.Date & vbNewLine &_
  "Comment: " & aForm.Comment & vbNewLine &_
  "SideCode: " & aForm.SideCode & vbNewLine &_
  "Reference: "  & aForm.Reference & vbNewLine 
  
Profile.MsgBox(aFormInfo)               
Note:

In Profile Client v8 on User Interface Date can be found in Patient > Alter Patient > Approvals > Date or in Financial > Approvals > Approvals > Date.

Version information

Added in v7.8.0