ISProfile.LoadCDOTransactions

Description

This function returns clinical transactions loaded on the basis of the selected filter.

Syntax

object.LoadCDOTransactions(aFilter)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter In, Required
The object that defines conditions for filtering

Return Value

ISCDOTransactions

Returns CDO Transactions loaded on the basis of the selected filter

Example

Display the number of CDO transactions loaded on the basis of the selected filter and the dates when they were created.

Dim aPatient
Dim aFilter 
Dim aCDOTransactions
Dim aCDOTransaction
Dim aMessage

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.Id
set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)

aMessage = "CDO Transactions Count = " & aCDOTransactions.Count
for i = 0 to aCDOTransactions.Count - 1
  set aCDOTransaction = aCDOTransactions.Item(i)
  aMessage = aMessage & vbNewLine & "The transaction was created on " &_
    aCDOTransaction.CreatedOn
next      

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface CDO Transactions can be found in Clinical > Medical Record > Encounters.

See also

Version information

Added in v7.8.0