ID of the organisation member linked to the alert with the scope 'Organisation'.
object.AlertOrganisation
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
int
Display the number of the patient's alerts, their descriptions, scope and IDs of the organisation members for the alerts with 'Organisation' scope.
Dim aPatient
Dim aAlertList
Dim aAlert
Dim aMessage
Set aPatient = Profile.SelectPatient
set aAlertList = aPatient.AlertList
aMessage = "Patient Alert Count = " & aAlertList.Count
for i = 0 to aAlertList.Count - 1
set aAlert = aAlertList.Item(i)
if aAlert.AlertScope = 2 then 'Organisation
aMessage = aMessage & vbNewLine & "'" & aAlert.DxDescription &_
"', Scope: Organisation; Organisation: " &_
Profile.LoadOrgMember(aAlert.AlertOrganisation).Name
else
aMessage = aMessage & vbNewLine & "'" & aAlert.DxDescription &_
"', Scope: " & aAlert.AlertScope
end if
next
Profile.MsgBox(aMessage) In Profile Client v8 on User Interface Organisation ID cannot be found, but Alert Organisation can be found in or in .