ISCareVisit.ClashFlag

Description

Returns "True" if the intervention template being added already exists for the patient.

Syntax

object.ClashFlag

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

Return Value

bool

Example

Display ClashFlag for the intervention template.

Dim aCarePlan
Dim aMessage
Dim aVisits
Dim aVisit

Set aCarePlan = Profile.LoadCarePlanByCode ("FLU") 
set aVisits = aCarePlan.Visits

if aVisits.Count = 0 then
  aMessage = aMessage & vbNewLine & "There are no care visits!"
else
  
  for i = 0 to aVisits.Count - 1
    set aVisit = aVisits.Item(i)
    aMessage = aMessage & vbNewLine & aVisit.Description &_
     ": " & aVisit.ClashFlag 
  next

end if       
   
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Check and checkbox can be checked in Maintain > Care Plans > Open Plan > Interventions > Alter Intervention > If the intervention exists field.

Version information

Added in v7.8.0