ISCareStreams.Item

Description

Each of the clinical pathways within the collection.

Syntax

object.Item(Index)

Part Attribute Type Description
object Required
The object always implements the ISCareStreams interface
Index In, Required
int
The index of the pathway
Restriction: This property is readonly.

Return Value

ISCareStream

Example

Display each 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 Description: '" & aStream.Description & "'"         
next
Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface Pathways can be found in Maintain > Care Plans > Open Plan > Plan > Plan Pathways.

Version information

Added in v7.8.0