ISCountryItems.FindItemByISOLong

Description

This function finds the country item by its long country code.

Syntax

object.FindItemByISOLong(aISOLong)

Part Attribute Type Description
object Required
The object always implements the ISCountryItems interface
aISOLong In, Required
string
The long country code

Return Value

ISCountryItem

Returns the country item by its long country code.

Example

Display the short name of the country item found by its long country code.

Dim aCountryItems
Dim aISOLong
Dim aCountryItem
Dim aMessage

set aCountryItems = Profile.LoadCountryList
aISOLong = "BLR"
set aCountryItem = aCountryItems.FindItemByISOLong(aISOLong)

aMessage = "The country with ISO Long '" & aISOLOng & "' is " &_  
  aCountryItem.ShortName   

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface ISO Long 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