ISEncounter.IncludeInCumulativeView

Description

This property is True if the encounter is included in cumulative view.

Syntax

object.IncludeInCumulativeView

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

Return Value

bool

Example

Display IncludeCumulativeView for the encounter.

Dim aPatient        
Dim aFilter  
Dim aEncounters, aEncounter
Dim i                                                                                                              
Dim aMessage

Set aPatient = Profile.SelectPatient 
set aFilter = Profile.CreateEncounterFilter
aFilter.PatientId = aPatient.ID 
set aEncounters = aPatient.LoadEncounters(aFilter)

aMessage = "Encounters Count = " & aEncounters.Count

for i = 0 to aEncounters.Count - 1
  set aEncounter = aEncounters.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ". " &_
    "Auto Created: " & aEncounter.AutoCreated & vbNewLine &_                             
    "Block From Patient Access: " & aEncounter.BlockFromPatientAccess & vbNewLine &_ 
    "Child Protection: " & aEncounter.ChildProtection & vbNewLine &_
    "Date: " & aEncounter.Date & vbNewLine &_                            
    "Date Created: " & aEncounter.DateCreated & vbNewLine &_
    "Date Altered: " & aEncounter.DateAltered & vbNewLine &_
    "Date Ended: " & aEncounter.DateEnded & vbNewLine &_
    "Date Time: " & aEncounter.DateTime & vbNewLine &_
    "ID: " & aEncounter.ID & vbNewLine &_
    "Duration: " & aEncounter.Duration & vbNewLine &_
    "Patient: " & aPatient.SurnameFirstName & vbNewLine &_
    "Pos Code: " & aEncounter.PosCode & vbNewLine &_
    "Provider Code: " & aEncounter.ProviderCode & vbNewLine &_
    "Service Code: " & aEncounter.ServiceCode & vbNewLine &_
    "Type Code: " & aEncounter.TypeCode & vbNewLine &_               
    "Type Description: " & aEncounter.TypeDescription & vbNewLine &_
    "Type ID: " & aEncounter.TypeID & vbNewLine &_
    "Include In Cumulative View: " & aEncounter.IncludeInCumulativeView & vbNewLine 
  
next  
                                               
Profile.MsgBox(aMessage)              
Note:

In Profile Client v8 on User Interface the Include In Cumulative View checkbox can be checked in Clinical > Medical Record > New Encounter > Actions > Encounter > Include In Cumulative View.

Version information

Added in v7.8.0