ISProfile.CountryInfo

Description

This function returns the information about the country of the current practice.

Syntax

object.CountryInfo()

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

Return Value

ISCountryInfo

Returns the information about the country of the current practice.

Example

Display the information about the country, province of the current practice and its patient ID title.

Dim aMessage
Dim aCountryInfo

set aCountryInfo = Profile.CountryInfo

aMessage = _
  "IsAustralia: " & aCountryInfo.IsAustralia & vbNewLine &_
  "IsCanada: " & aCountryInfo.IsCanada & vbNewLine &_
  "IsNewZealand: " & aCountryInfo.IsNewZealand & vbNewLine &_
  "IsUnitedKingdom: " & aCountryInfo.IsUnitedKingdom & vbNewLine &_
  "IsUnitedStates: " & aCountryInfo.IsUnitedStates & vbNewLine &_
  "PatientIdTitle: " & aCountryInfo.PatientIdTitle & vbNewLine &_
  "Province: " & aCountryInfo.Province           
  
Profile.MessageBox(aMessage)  
Note:

In Profile Client v8 on User Interface Country Info can be found in Organisation > Preferences > Health System.

Version information

Added in v7.9.0