ISPatientRecallPlan.Code

Description

The code of the patient's care plan.

Syntax

object.Code

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

Return Value

string

Example

Display the code of the patient's care plan.

Dim aPatient
Dim aRecallPlans
Dim aMessage
Dim aPlan

Set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans

if aRecallPlans.Count = 0 then
  Profile.MsgBox("The patient has no care plans!")
  exit sub
end if

for each aPlan in aRecallPlans
  aMessage = aMessage & vbNewLine & "The code of the patient's care plan '" &_
    aPlan.Description & "' is " & aPlan.Code 
next

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Code can be found in Clinical > Medical Record > Care Plans > Open active object(s) > Based on field.

Version information

Added in v7.8.0