ISAddresses.CountryCode

Description

The country code of the patient's additional address.

Syntax

object.CountryCode

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

Return Value

string

Example

Display the country code of the patient's additional address.

Dim aPatient  
Dim aAddresses, aAddress
Dim i
Dim aMessage   
Dim aAddressCollection

Set aPatient = Profile.SelectPatient 

set aAddressCollection = aPatient.LoadAddresses

for i = 0 to aAddressCollection.Count - 1
  set aAddress = aAddressCollection.Item(i)  
  set aAddresses = Profile.LoadAdditionalAddress(aAddress.Id)
    
  aMessage = aMessage & vbNewLine &_
    "The country code for the " &_ 
    "patient's additional address '" & aAddresses.AsLine &_
    "' is " & aAddresses.CountryCode 
next 
Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface Country can be found in Patient > Alter Patient > Personal > Additional Addressses > Edit Address > Address > Buiding fields.

Version information

Added in v7.8.0