ISProvider.SpecialityConcept

Description

The specialty of the provider.

Syntax

object.SpecialityConcept

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

Return Value

ISConcept

Example

Display the specialty of the provider.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aSpecialityConcept
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter
aFilter.Category = 2 'pcProvider  
set aProviders = Profile.LoadProvidersByFilter(aFilter)

aMessage = aMessage & vbNewLine &_
  "The number of the providers of the specified category is " &_
  aProviders.Count

for each aProvider in aProviders
  set aSpecialityConcept = aProvider.SpecialityConcept
  if aSpecialityConcept is nothing then 
    aMessage = aMessage & vbNewLine & "Speciality Not Defined"
  else
    aMessage = aMessage & vbNewLine & aProvider.FullName &_
      "'s speciality is " & aSpecialityConcept.Name
  end if   
next
 
Profile.MsgBox (aMessage)
Note:

In Profile Client v8 on User Interface Speciality Concept can be found in Organisation > People&Places > People and Places > Open the selected Provider > General > Specialty field.

Version information

Added in v7.8.0