ISApproval.SideCode1

Description

The first side code of the approval loaded on the basis of the selected filter.

L Left
R Right
B Left and Right
N Not Applicable

Syntax

object.SideCode1

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, the dates and time they were added, the full names of the patients the approvals were created for and their first side codes.

Dim aPatient
Dim aFilter
Dim aApproval
Dim aApprovals
Dim aMessage

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 & (i + 1) & ") The approval " & "for " &_
    aPatient.SurnameFirstName & "was added on " & aApproval.DateTimeAdded &_
    vbNewLine & "   - The first side code of the approval is " & aApproval.SideCode1 
next      

Profile.MsgBox(aMessage)       
Note:

In Profile Client v8 on User Interface the first Side Code can be found in Patient > Alter Patient > Approvals > Approval Edit > Side or in Financial > Approvals > Approvals > > Approval Edit > Side.

Version information

Added in v7.10.50