ISPatientRecallVisit.GetActionFormCount

Description

This function returns the number of the actions with the linked HRC forms.

Syntax

object.GetActionFormCount()

Part Attribute Type Description
object Required
The object always implements the ISPatientRecallVisit interface

Return Value

int

Returns the number of the actions with the linked HRC forms.

Example

Display the number of the actions with the linked HRC forms.

sub main()
   Dim aPatient, aRecallVisits, aMessage
     
   set aPatient = Profile.SelectPatient
   set aRecallPlans = aPatient.RecallPlans
   
   for each aPlan in aRecallPlans
     aMessage = aMessage & GetVisitCollectionInfo(aPlan.Visits)
   next

  Profile.MsgBox(aMessage)
end sub

function GetVisitCollectionInfo(aVisits)

  for each aVisit in aVisits 
    info = info & vbNewLine & "The Action Forms Count for the " &_
    "intervention '" & aVisit.Description & "' is " & aVisit.GetActionFormCount
   
    next
  GetVisitCollectionInfo = info
end function   
Note:

In Profile Client v8 on User Interface Action Form can be found in Clinical > Medical Record > Care Plans > Open active object(s) > Actions.

Version information

Added in v7.8.0