ISCareAction.Changed

Description

The date and time the care action template was last modified.

Syntax

object.Changed

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

Return Value

DateTime

Example

Display the date and time the care action template was last modified.

Dim aCarePlan
Dim aMessage
Dim aVisits
Dim aVisit
Dim aActions
Dim aAction

Set aCarePlan = Profile.LoadCarePlanByCode ("FLU") 
set aVisits = aCarePlan.Visits

if aVisits.Count = 0 then
  Profile.MsgBox ("NO INTERVENTIONS!")
  exit sub
end if  
 
for i = 0 to aVisits.Count - 1
  set aVisit = aVisits.Item(i)
  aMessage = aMessage & vbNewLine &_
    "INTERVENTION: " & aVisit.Description 

  set aActions = aVisit.Actions
  if aActions.Count = 0 then 
    aMessage = aMessage & vbNewLine & "  No Actions!"
  else  
    for j = 0 to aActions.Count - 1    
      set aAction = aActions.Item(j)
      aMessage = aMessage & vbNewLine & "   ACTION: " & aAction.Description & vbNewLine &_
       "      ACTION CHANGED: " & aAction.Changed
         
    next 'j
  end if
    
next 'i
  
Profile.MsgBox (aMessage)    
Note:

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

Version information

Added in v7.8.0