ISCareTeamFilter.Status

Description

This filter property is used to load the care team members by the team member status ('Open' or 'Closed').

Syntax

object.Status

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

Return Value

TSCareTeamStatusTypes

Example

Display the number of the care team members filtered by the team member status ('Open' or 'Closed').

Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams
Dim aMessage

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

aCareTeamFilter.Patient = aPatient.Id
aCareTeamFilter.Status = 1 ' ctstOpen

set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)

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

In Profile Client v8 on User Interface Status can be found in Clinical > Care Team > Status or Clinical > Medical Record > Care Team > Status.

Version information

Added in v7.8.0