ISProfile.GetPatients

Description

This function returns the selected patients in the active window.

Syntax

object.GetPatients()

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

Return Value

ISPatients

Returns the selected patients in the active window.

Example

Display the number of the patients and their full names.

Dim aPatients
Dim aMessage

Set aPatients = Profile.GetPatients

aMessage = "Patients Count: "  & aPatients.Count & vbNewLine 
for i = 0 to aPatients.Count - 1 
  set aPatient = aPatients.Item(i)
  aMessage = aMessage & aPatient.SurnameFirstName 
next 

Profile.MsgBox(aMessage)     
Note:

Version information

Added in v7.8.0