ISCountryItem.ISOCode

Description

The ISO Code of the country item.

Syntax

object.ISOCode

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

Return Value

int

Example

Display the collection of the country items loaded from Profile, their ISO Codes and long names.

Dim aCountryItems, aCountryItem
Dim aMessage

Set aCountryItems = Profile.LoadCountryList

aMessage = "Country Items Count: " & aCountryItems.Count &_
  vbNewLine & vbNewLine & "#" & vbTab & "ISO Code" & vbTab & "Long Name"

for i = 0 to aCountryItems.Count - 1 
  set aCountryItem = aCountryItems.Item(i)
  aMessage = aMessage & vbNewLine & (i+1) & ") " & vbTab & aCountryItem.ISOCode &_
    vbTab & vbTab & aCountryItem.LongName    
next 
 
Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface ISO Code cannot be found, but Country Items for the patient can be found in Patient > Alter Patient > General > Street Address.

Version information

Added in v7.8.0