This filter property is used to load the collection of CDO transactions with the specified case ID.
object.CaseID
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, some information about them and the titles of the cases the CDO transactions are linked to.
Dim aFilter
Dim aCDOTransactions, aCDOTransaction
Dim aPatientId, aCaseId
Dim aSelected
Dim aCase
Dim i
Dim aMessage
aSelected = Profile.Lookup_PatientCaseSearch(aPatientId, aCaseId, _
"Select patient's case", true)
if not aSelected then exit sub
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatientId
aFilter.CaseID = aCaseId
set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)
aMessage = "CDO Transactions Count = " & aCDOTransactions.Count & vbNewLine
for i = 0 to aCDOTransactions.Count - 1
set aCDOTransaction = aCDOTransactions.Item(i)
set aCase = Profile.OpenCase(aCaseId)
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
"Created on: " & aCDOTransaction.CreatedOn & vbNewLine &_
" ID: " & aCDOTransaction.ID & vbNewLine &_
" CID: " & aCDOTransaction.CID & vbNewLine &_
" Case: " & aCase.CaseTitle & vbNewLine &_
" Pos Code: " & aCDOTransaction.PosCode & vbNewLine &_
" Provider ID: " & aCDOTransaction.ProviderId & vbNewLine &_
" Recorder: " & aCDOTransaction.Recorder & vbNewLine
next
Profile.MsgBox(aMessage)
Case can be found in
.