ISApproval.AliasCode

Description

The alias code of the agency.

Syntax

object.AliasCode

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

Return Value

string

Example

Display the number of the approvals loaded on the basis of the selected filter, some information about them, including the alias codes of the agencies.

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 approval for " &_
    aPatient.SurnameFirstName & " was created on " & aApproval.Date & vbNewLine &_
    "Alias Code of the agency: " & aApproval.AliasCode
next      
                               
Profile.MsgBox(aMessage)            
Note:

In Profile Client v8 on User Interface Alias Code can be found in Organisation > Aliases > Alias.

Version information

Added in v7.8.0