ISProfile.CreateCDOTransFilter

Description

This function creates the filter for loading clinical transactions.

Syntax

object.CreateCDOTransFilter()

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

Return Value

ISCDOTransFilter

Returns the filter for loading CDO transactions.

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.

Version information

Added in v7.8.0