This function returns the care plan by ID.
object.LoadCarePlanByID(aPlanID)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aPlanID |
In, Required | int |
ID of the care plan |
Display ID of the selected care plan and its description.
Dim aCarePlan
Dim aMessage
set aCarePlan = Profile.LoadCarePlanByCode("IMM")
if aCarePlan is nothing then
Profile.MsgBox("There is no care plan with the specified code")
exit sub
end if
aPlanId = aCarePlan.Id
set aCarePlan2 = Profile.LoadCarePlanById(aPlanId)
aMessage = "The care plan '" & aCarePlan2.Description & "' " &_
"has ID = " & aCarePlan2.Id
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface ID cannot be found, but Care Plans can be found in
.