ISCDOTransFilter.ProviderCode

Description

This filter property is used to load the collection of CDO transactions with the specified provider code.

Syntax

object.ProviderCode

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

Return Value

string

Example

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 aCreatedByProvider
Dim i
Dim aMessage

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.Id
aFilter.ProviderCode = "VE3"
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 &_
    "     Provider ID: " & aCDOTransaction.ProviderId & vbNewLine &_ 
    "     Recorder: " & aCDOTransaction.Recorder & vbNewLine
    
  set aCreatedByProvider = aCDOTransaction.CreatedBy
  if not aCreatedByProvider is nothing then
    aMessage = aMessage & "     Created By: " & aCreatedByProvider.FullName & vbNewLine
  end if      
next    
Profile.MsgBox(aMessage)    
Note:

In Profile Client v8 on User Interface Provider Code can be found in Clinical > Medical Record > Results > Right-click on the transaction > Set Properties > Properties > Provider field.

Version information

Added in v7.8.0