This function returns care plans by the code.
object.LoadRecallPlans(aCode)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aCode |
In, Required | string |
The code of the care plan |
Display the number of care plans and some information about them.
Dim aRecallPlan
Dim aRecallPlans
Dim aMessage
Dim i
Set aRecallPlans = Profile.LoadRecallPlans("MHACT")
aMessage = "Care Plans Count = " & aRecallPlans.Count & vbNewLine
for i = 0 to aRecallPlans.Count - 1
set aRecallPlan = aRecallPlans.Item(i)
aMessage = aMessage & vbNewLine &_
"Description: " & aRecallPlan.Description & vbNewLine &_
"Code: " & aRecallPlan.Code & vbNewLine &_
"Status: " & aRecallPlan.Status & vbNewLine &_
"Patient: " & Profile.LoadPatient(aRecallPlan.PatientId).SurnameFirstName & vbNewLine &_
"Is New: " & aRecallPlan.IsNew & vbNewLine &_
"Comment: " & aRecallPlan.Comment & vbNewLine
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Care Plans can be found in
.