ISProvider.ExternalOrgCode

Description

The practice's organisation or facility ID, if known. It is used for GP2GP export and import.

Syntax

object.ExternalOrgCode

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

Return Value

string

Example

Display the practice name the provider belongs to, the practice's organisation or facility ID and the codeset to which the organisation or facility ID belongs.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter

aFilter.Category = 2 'pcProvider
aFilter.Code = "PROV"  

set aProviders = Profile.LoadProvidersByFilter(aFilter)

for each aProvider in aProviders
  aMessage = aMessage & vbNewLine &_
    "FULL NAME: " & aProvider.FullName & vbNewLine &_ 
    "EXTERNAL ORG NAME: " & aProvider.ExternalOrgName & vbNewLine &_ 
    "EXTERNAL ORG CODE: " & aProvider.ExternalOrgCode & vbNewLine &_
    "EXTERNAL ORG CODE SET: " & aProvider.ExternalOrgCodeset 
next

Profile.MsgBox (aMessage)     
Note:

In Profile Client v8 on User Interface External Org Code cannot be found.

Version information

Added in v7.9.2