ISCarePlan.Code

Description

The code of the care plan template.

Syntax

object.Code

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

Return Value

string

Example

Display the code of the selected care plan template.

Dim aCarePlan
Dim aMessage

Set aCarePlan = Profile.LoadCarePlanByCode ("FLU") 

if aCarePlan is nothing then 
  Profile.MsgBox ("There is no care plan with this code")
  exit sub   
end if

aMessage = "The code of the care plan template """ &_ 
  aCarePlan.Description & """ is " &  aCarePlan.Code & ""   
Profile.MsgBox (aMessage)
Note:

In Profile Client v8 on User Interface Code can be found in Maintain > Care Plans > Plan.

Version information

Added in v7.8.0