ISCDOTransaction.PosCode

Description

The code of the place of service for the CDO transaction.

Syntax

object.PosCode

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

Return Value

string

Example

Display some information about the CDO transactions, including the codes of the places of service for the CDO transactions.

Dim aPatient
Dim aFilter 
Dim aCDOTransactions, aCDOTransaction
Dim aMessage
Dim i

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.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 &_
    "     Code: " & aCDOTransaction.Code & vbNewLine &_
    "     ID: " & aCDOTransaction.ID & vbNewLine &_
    "     GUID: " & aCDOTransaction.GUID & vbNewLine &_
    "     CID: " & aCDOTransaction.CID & vbNewLine &_
    "     URL: " & aCDOTransaction.URL & vbNewLine &_
    "     Comment: " & aCDOTransaction.Comment & vbNewLine &_
    "     Pos Code: " & aCDOTransaction.PosCode & vbNewLine &_
    "     Privacy: " & aCDOTransaction.Privacy & vbNewLine &_ 
    "     Recorder: " & aCDOTransaction.Recorder & vbNewLine &_ 
    "     Authorizer: " & aCDOTransaction.Authorizer & vbNewLine  
next    

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Pos Code can be found in Organisation > Work Centre > Work > Manual Trans > Open the selected transaction > Transaction > POS field.

Version information

Added in v7.8.0