This function deletes the patient's care plan.
object.Delete
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallPlan interface |
Delete 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 plan '" & aPlan.Description &_
"' is successfully deleted! "
aPlan.Delete
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Care plans can be found and deleted in
.