ISPatientRecallPlanVersCollection.Item

Description

Each of the care plan versions within the collection.

Syntax

object.Item(prpIndex)

Part Attribute Type Description
object Required
The object always implements the ISPatientRecallPlanVersCollection interface
prpIndex In, Required
int
The index of the care plan version
Restriction: This property is readonly.

Return Value

ISPatientRecallPlanVers

Example

Display each of the care plan versions in the tree structure of the care plan versions.

Dim aMacroResult
Dim aPlans
Dim aPlan
Dim aResultHTML 

set aPlans = Plans

set aMacroResult = Profile.FindVariable("MacroResult")

aResultHTML = _
  "Plans Count: " & aPlans.Count & "<br>"
  
for i = 0 to aPlans.Count - 1
  set aPlan = aPlans.Item(i)
  aResultHTML = aResultHTML & _
    "<li>" & aPlan.Description & "</li><br>"
next 
  
  
aMacroResult.Value = aResultHTML     
Note:

In Profile Client v8 on User Interface Care Plan Versions can be found in Clinical > Medical Record > Care Plans > Text page.

Version information

Added in v7.8.0