ID of the care plan objective.
object.ID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRecallObjective interface |
int
Display ID of the care plan objective.
Dim aPatient
Dim aRecallPlans
Dim aMessage
Dim aPlan
Dim i
Dim aObjectives
Dim aObjective
Set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
if aRecallPlans.Count = 0 then
Profile.MsgBox("The patient has no care plans!")
exit sub
end if
for each aPlan in aRecallPlans
set aObjectives = aPlan.RecallObjectives
aMessage = aMessage & vbNewLine & "PLAN: '" & aPlan.Description & "'"
for i = 0 to aObjectives.Count - 1
set aObjective = aObjectives.Item(i)
aMessage = aMessage & vbNewLine & " OBJECTIVE NAME: '" & aObjective.Name &_
"'" & vbNewLine & " OBJECTIVE ID = " & aObjective.ID
next
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Objective ID cannot be found.