ISProfile.LoadRecallPlansByPatientID

Description

This function returns care plans by the patient's ID.

Syntax

object.LoadRecallPlansByPatientID(aId)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aId In, Required
int
ID of the patient

Return Value

ISPatientRecallPlans

Returns care plans by the patient's ID.

Example

Display the number of care plans, their names and codes.

Dim aPatient
Dim aPatientID
Dim aRecallPlan, aRecallPlans
Dim aMassage
Dim i

Set aPatient = Profile.SelectPatient
aPatientID = aPatient.ID
set aRecallPlans = Profile.LoadRecallPlansByPatientID(aPatientID) 

aMessage = "Care Plans Count = " & aRecallPlans.Count & vbNewLine 
for i = 0 to aRecallPlans.Count - 1
  set aRecallPlan = aRecallPlans.Item(i)
  aMessage = aMessage & vbNewLine & aRecallPlan.Description & " (" &_
    aRecallPlan.Code & ")" 
next
 
Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Care Plans can be found in Clinical > Medical Record > Care Plan.

Version information

Added in v7.8.0