ISCareTeam.DTModified

Description

The date and time the care team member was last modified.

Syntax

object.DTModified

Part Attribute Type Description
object Required
The object always implements the ISCareTeam interface
Restriction: This property is readonly.

Return Value

DateTime

Example

Display the date and time the care team member was last modified.

Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams, aCareTeam
Dim i
Dim aRoleShortCode
Dim aMessage

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

aCareTeamFilter.Patient = aPatient.Id

set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)

aMessage = "Team Member Count = " & aCareTeams.Count & vbNewLine
for i = 0 to aCareTeams.Count - 1
  set aCareTeam = aCareTeams.Item(i)
  set aRoleShortCode = Profile.LoadShortCode(aCareTeam.RoleID)
  if aRoleShortCode is nothing then
    aMessage = aMessage & vbNewLine & "Role not assigned!"
  end if
  aMessage = aMessage &  " Team Member Role - " &_ 
    aRoleShortCode.Description & vbNewLine &_
    "   The date and time the team member was last modified is " &_
    aCareTeam.DTModified & vbNewLine
next 
Profile.MsgBox (aMessage)   
Note:

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

Version information

Added in v8.2.0