ID of the organisation the external provider is associated with.
object.OrganisationID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISExternalProvider interface |
int
Display the organisation name for the external provider.
Dim aExtProvider
Dim aCode
Dim aPatient
Dim aMessage
aCode = "1"
Set aExtProvider = Profile.LoadExternalProvider(aCode)
if aExtProvider.ID = 0 then
aMessage = "No external provider with the specified code"
else
set aPatient = Profile.PatientUtils.LoadPatientByID(aExtProvider.OrganisationID)
aMessage = aMessage & vbNewLine &_
"The organisation of the external provider " & aExtProvider.FullName &_
" is " & aPatient.LastName & " " & aPatient.FirstName
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Organisation ID cannot be found.