This function closes the series of patient's interventions within the care plan.
object.CloseInterventionSeries
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
Close the series of patient's interventions within the care plan.
sub main()
Dim aPatient, aRecallVisits, aMessage
set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
aMessage = "PLANS AND INTERVENTION SERIES BEFORE CLOSURE:" &_
GetPlanCollectionInfo(aRecallPlans)
for each aPlan in aRecallPlans
set aVisits = aPlan.Visits
for each aVisit in aVisits
aVisit.CloseInterventionSeries
next
next
aMessage = aMessage & vbNewLine & "PLANS AND INTERVENTION SERIES AFTER CLOSURE:" &_
GetPlanCollectionInfo(aRecallPlans)
Profile.MsgBox(aMessage)
end sub
function GetPlanCollectionInfo(aRecallPlans)
info = ""
for each aPlan in aRecallPlans
info = info & vbNewLine & aPlan.Description
set aVisits = aPlan.Visits
if aVisits.Count = 0 then
info = info & vbNewLine & "The plan has no interventions!"
end if
for each aVisit in aVisits
info = info & vbNewLine & " - " & aVisit.Description & " - " &_
aVisit.StatusAsString
next
next
GetPlanCollectionInfo = info
end function
In Profile Client v8 on User Interface Intervention Series can be found and closed in
.