ISPatientRecallVisit.IsDeleted

Description

Returns True if the patient's intervention was deleted.

Syntax

object.IsDeleted

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

Return Value

bool

Example

Display IsDeleted for the patient's intervention.

sub main()
  Dim aPatient  
  Dim aRecallPlans, aPlan 
  Dim 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)
  Dim aVisit
  Dim aPlan
  
  for each aVisit in aVisits 
    set aPlan = aVisit.ParentPlan
    info = info & vbNewLine & "Intervention: " & aVisit.Description & vbNewLine &_
      "DateSeen = " & aVisit.DateSeen & vbNewLine &_
      "DateCompleted = " & aVisit.DateCompleted & vbNewLine &_
      "DateConcluded = " & aVisit.DateConcl & vbNewLine &_
      "Date/Time Modified = " & aVisit.DTModified & vbNewLine &_
      "Is Deleted = " & aVisit.IsDeleted & vbNewLine
  next
  
  GetVisitCollectionInfo = info
end function  
Note:

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

Version information

Added in v8.5.0