ISCareVisit.Changed

Description

The date and time the intervention template was last modified.

Syntax

object.Changed

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

Return Value

DateTime

Example

Display the date and time the intervention template was last modified.

Dim aCarePlan
Dim aMessage
Dim aVisits
Dim aVisit

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

if aVisits.Count = 0 then
  aMessage = aMessage & vbNewLine & "There are no care visits!"
else
  
  for i = 0 to aVisits.Count - 1
    set aVisit = aVisits.Item(i)
    aMessage = aMessage & vbNewLine & "The date and time" &_
    " the intervention template '" &_
    aVisit.Description & "'" & " was last modified is "  & aVisit.Changed  
  next

end if       
   
Profile.MsgBox (aMessage)  
Note:

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

Version information

Added in v7.8.0