This function returns the care plan the patient's intervention is a part of.
object.ParentPlan()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
Display the care plan the patient's intervention is a part of.
sub main()
Dim aPatient, aRecallVisits, aMessage
set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
for each aPlan in aRecallPlans
aMessage = aMessage & GetVisitCollectionInfo(aPlan.Visits)
next
Profile.MsgBox(aMessage)
end sub
function GetVisitCollectionInfo(aVisits)
for each aVisit in aVisits
set aPlan = aVisit.ParentPlan
info = info & vbNewLine & "The care plan for the patient's intervention '" &_
aVisit.Description & " is '" & aPlan.Description & "'"
next
GetVisitCollectionInfo = info
end function
In Profile Client v8 on User Interface Parent Plan can be found in
.