This filter property is used to load the patient's care plans by the selected plan code.
object.PlanCode
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRecallPlanFilter interface |
string
Display the number of the patient's care plans filtered by the selected plan code.
sub main
Dim aPatient
Dim aFilter
Dim aRecallPlans
Dim aMessage
Set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
set aFilter = Profile.CreateRecallPlanFilter
aFilter.PatientId = aPatient.Id
aFilter.PlanCode = "IMMBC"
set aRecallPlans = Profile.LoadRecallPlansExt(aFilter)
aMessage = aMessage & vbNewLine &_
"The number of the patient's care plans filtered " &_
"by plan code '" & aFilter.PlanCode & "' is " & aRecallPlans.Count
Profile.MsgBox(aMessage)
end sub
In Profile Client v8 on User Interface Plan Code cannot be found.