ISCareVisit.Subject

Description

The subject of the care plan letter for the intervention template.

Syntax

object.Subject

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

Return Value

string

Example

Display the subject of the care plan letter for the intervention template.

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 subject of the care plan letter " &_
    "for the intervention template '" & aVisit.Description &_
    "'" & " is "  & aVisit.Subject
  next

end if       
   
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Subject can be found in Maintain > Care Plans > Open Plan > Letters > Letter Properties > Subject field.

Version information

Added in v7.8.0