This function returns the organisation node for each place of service.
object.GetOrgNodeWithThisClinicalPos()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProvider interface |
Display the number of the children of the organisation node for each place of service.
Dim aFilter
Dim aProviders
Dim aProvider
Dim aOrgNode
Dim aMessage
Set aFilter = Profile.CreateProvidersFilter
aFilter.Category = 3 'pcPOS
set aProviders = Profile.LoadProvidersByFilter(aFilter)
aMessage = aMessage & vbNewLine &_
"The number of the providers is " & aProviders.Count
for each aProvider in aProviders
set aOrgNode = aProvider.GetOrgNodeWithThisClinicalPos
if aOrgNode is nothing then
aMessage = aMessage & vbNewLine & "The POS '" & aProvider.FullName &_
"' has no Org Node"
else
aMessage = aMessage & vbNewLine & "The POS '" & aProvider.FullName &_
"' has no Org Node with " & aOrgNode.Children.Count & " child(children)"
end if
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Organisation Node can be found in
.