ISPatientRecallPlan.Visits

Description

Interventions within the patient's care plan.

Syntax

object.Visits

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

Return Value

ISPatientRecallVisits

Example

Display the number of the patient's interventions within the care plan.

Dim aPatient
Dim aRecallPlans
Dim aMessage
Dim aPlan

Set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans

if aRecallPlans.Count = 0 then
  Profile.MsgBox("The patient has no care plans!")
  exit sub
end if

for each aPlan in aRecallPlans 
   set aVisits = aPlan.Visits
   aVisitsCount = aVisits.Count
   if aVisitsCount = 0 then 
     aMessage = aMessage & vbNewLine & "There are no interventions in the" &_
       " patient's care plan '" & aPlan.Description & "'"
   else   
     aMessage = aMessage & vbNewLine & "There (is) are " & aVisitsCount &_ 
       " intervention(s) in the patient's care plan '" & aPlan.Description & "'"   
   end if
next

Profile.MsgBox(aMessage)       
Note:

In Profile Client v8 on User Interface Interventions can be found in Clinical > Medical Record > Care Plans.

Version information

Added in v7.8.0