ISCDOTransFilter.ProviderID

Description

This filter property contains ID of the provider which will be used to load the collection of CDO transactions.

Syntax

object.ProviderID

Part Attribute Type Description
object Required
The object always implements the ISCDOTransFilter interface
Restriction: This property is readonly.

Return Value

int

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

Set aPatient = Profile.SelectPatient

set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.Id
aFilter.ProviderCode = "PROV"

set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)

aMessage = "The number of CDO Transactions for the Provider with id '" &_
  aFilter.ProviderId & "' is " & 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)  
Note: In Profile Client v8 on User Interface Provider ID cannot be found.

Provider can be found in Clinical > Medical Record > Results > Open the CDO transaction > Transaction > Prov field.

Version information

Added in v7.8.0