ISPatientRecallPlanVersCollection.Count

Description

The number of the care plan versions within the collection.

Syntax

object.Count

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

Return Value

int

Example

Display 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 Collection of Care Plan Versions can be found in Clinical > Medical Record > Care Plans > Text page.

Version information

Added in v7.8.0