ISPatientRecallVisits.Count

Description

The number of the patient's interventions.

Syntax

object.Count

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

Return Value

int

Example

Display the number of the patient's interventions.

Dim aFilter
Dim aSelected
Dim aVisits
Dim aVisit
Dim aPlan
Dim aMessage

aSelected = Profile.Lookup_PatientCaseSearch(aPatientId, aCaseId, "blablabla", true)
if not aSelected then exit sub

set aFilter = Profile.CreateRecallVisitFilter
aFilter.CaseId = aCaseId

set aVisits = Profile.LoadRecallVisits(aFilter)

if aVisits.Count = 0 then
  aMessage = "The patient has no interventions"
else
  aMessage = " There is (are) " & aVisits.Count & " intervention(s)."
end if    

Profile.MsgBox(aMessage) 
Note:

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

Version information

Added in v7.8.0