The number of intervention templates within the collection.
object.Count
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareVisits interface |
int
Display the number of the intervention templates in the selected care plan template.
Dim aCarePlan
Dim aMessage
set aCarePlan = Profile.LoadCarePlanByCode ("FLU")
if aCarePlan is nothing then
Profile.MsgBox ("There is no care plan with this code")
exit sub
end if
aMessage = "Care Plan: " & aCarePlan.Description & " (" & aCarePlan.Code & ")"
set aVisits = aCarePlan.Visits
if aVisits.Count = 0 then
aMessage = aMessage & vbNewLine & "There are no visits"
else
aMessage = aMessage & vbNewLine & "There is (are) " & aVisits.Count & " Visit(s):"
end if
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Care Visits can be found in
.