ISPatientRecallVisit.RecallPlanID

Description

ID of the care plan the intervention is part of.

Syntax

object.RecallPlanID

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

Return Value

int

Example

Display ID of the care plan the intervention is part of.

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 
    set aPlan = aVisit.ParentPlan
    info = info & vbNewLine & "Care Plan ID for the intervention '" &_
    aVisit.Description & "' =  " & aVisit.RecallPlan.Id  
  next
  GetVisitCollectionInfo = info
end function   
Note:

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

Version information

Added in v7.8.0