ISCareTeamFilter.SearchInCases

Description

This filter property is used to load the care team members only from EMR when the property 'SearchInCases' is false, otherwise it allows to load the care team members both from EMR and cases.

Syntax

object.SearchInCases

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

Return Value

bool

Example

Display the number of the care team members filtered by the specified 'SearchInCases' property.

Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams
Dim aMessage

Set aPatient = Profile.SelectPatient
set aCareTeamFilter = Profile.CreateCareTeamFilter

aCareTeamFilter.Patient = aPatient.Id
aCareTeamFilter.SearchInCases = true 

set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)

aMessage = "The number of the patient's care team members loaded " &_
  "by the filtering condition (SearchInCases = " &_
  aCareTeamFilter.SearchInCases & ") is " & aCareTeams.Count
 
Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface SearchInCases cannot be found.

Version information

Added in v7.8.0