The number of the clinical pathways within the collection.
object.Count
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareStreams interface |
int
Display the number of the clinical pathways within the collection.
Dim aCarePlan
Dim aStreams, aStream
Dim i
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
set aStreams = aCarePlan.Streams
aMessage = aMessage & "The care plan template """ & aCarePlan.Description &_
""" has " & aStreams.Count & " pathway(s):" & vbNewLine
for i = 0 to aStreams.Count - 1
set aStream = aStreams.Item(i)
aMessage = aMessage & vbNewLine &_
" - Pathway: '" & aStream.Description & "'"
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Pathways can be found in
.