ISCareStream.ID

Description

ID of the clinical pathway associated with the care plan template.

Syntax

object.ID

Part Attribute Type Description
object Required
The object always implements the ISCareStream interface
Restriction: This property is readonly.

Return Value

int

Example

Display ID of the clinical pathway associated with the care plan template.

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 & "'" & vbNewLine &_
    "    Pathway ID = " & aStream.ID        
next
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface ID cannot be found.

Version information

Added in v7.8.0