This filter property is used to load the collection of CDO transactions by ID of the selected service.
object.ActivityID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCDOTransFilter interface |
int
Display the number of the CDO transactions loaded on the basis of the selected filter and some information about them.
Dim aPatient
Dim aFilter
Dim aCDOTransactions, aCDOTransaction
Dim aService
Dim i
Dim aMessage
Set aPatient = Profile.SelectPatient
Set aService = Profile.LoadService("A2")
set aFilter = Profile.CreateCDOTransFilter
aFilter.TransactionTypes = 1 'tsotweEncounters
aFilter.PatientId = aPatient.Id
aFilter.ActivityId = aService.Id
set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)
aMessage = "CDO Transactions Count = " & aCDOTransactions.Count & vbNewLine
for i = 0 to aCDOTransactions.Count - 1
set aCDOTransaction = aCDOTransactions.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
"Created on: " & aCDOTransaction.CreatedOn & vbNewLine &_
" ID: " & aCDOTransaction.ID & vbNewLine &_
" CID: " & aCDOTransaction.CID & vbNewLine &_
" Pos Code: " & aCDOTransaction.PosCode & vbNewLine &_
" Privacy: " & aCDOTransaction.Privacy & vbNewLine &_
" Recorder: " & aCDOTransaction.Recorder & vbNewLine
next
Profile.MsgBox(aMessage)
Activity can be found in
.