This filter property is used to load the care team members including the deleted ones.
object.IncludeDeleted
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareTeamFilter interface |
bool
Display the number of the care team members loaded on the basis of the selected filter and some information about them.
Dim aPatient
Dim aCareTeamFilter
Dim aRoleShortCode
Dim aCareTeams, aCareTeam
Dim i
Dim aMessage
Set aPatient = Profile.SelectPatient
set aCareTeamFilter = Profile.CreateCareTeamFilter
aCareTeamFilter.Patient = aPatient.Id
aCareTeamFilter.IncludeDeleted = true
set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)
aMessage = "The number of the patient's care team members loaded " &_
"by the filtering condition (Include Deleted = " &_
aCareTeamFilter.IncludeDeleted & ") is " & aCareTeams.Count & vbNewLine
for i = 0 to aCareTeams.Count - 1
set aCareTeam = aCareTeams.Item(i)
set aRoleShortCode = Profile.LoadShortCode(aCareTeam.RoleID)
aMessage = aMessage & " Team Member Information: " & vbNewLine &_
" Role: " & aRoleShortCode.Description & vbNewLine &_
" ID: " & aCareTeam.ID & vbNewLine &_
" POS: " & aCareTeam.POS & vbNewLine &_
" Date From: " & aCareTeam.DateFrom & vbNewLine &_
" Date To: " & aCareTeam.DateTo & vbNewLine &_
" Date Modified: " & aCareTeam.DTModified & vbNewLine &_
" Is Deleted: " & aCareTeam.IsDeleted & vbNewLine
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Include Deleted cannot be found. Care Teams can be found in
or .