Returns True if a complete form needs to be filled in for the patient's intervention.
object.isCompleteFormFlag
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
bool
Display isCompleteFormFlag for the patient's intervention.
sub main()
Dim aPatient, aRecallVisits, aMessage
set aPatient = Profile.SelectPatient
set aRecallVisits = aPatient.RecallVisits
aMessage = "Due Interventions: " & vbNewLine &_
GetVisitCollectionInfo(aRecallVisits.Due) & vbNewLine &_
"Completed Interventions: " & vbNewLine &_
GetVisitCollectionInfo(aRecallVisits.Completed) & vbNewLine
Profile.MsgBox(aMessage)
end sub
function GetVisitCollectionInfo(aVisits)
Dim aVisit, aPlan, info
if aVisits.Count = 0 then
info = " There are no interventions!"
else
info = " The patient has " & aVisits.Count & " intervention(s):"
end if
for each aVisit in aVisits
set aPlan = aVisit.ParentPlan
info = info & vbNewLine & "Complete form for the patient's intervention '" &_
aVisit.Description & "' = " & aVisit.isCompleteFormFlag
next
GetVisitCollectionInfo = info
end function
In Profile Client v8 on User Interface the Complete form checkbox can be checked in
.