Returns True if the intervention template is applicable to the appropriate age or age range in weeks, months or years.
object.AgeFlag
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareVisit interface |
bool
Display AgeFlag for the intervention template.
Dim aCarePlan
Dim aMessage
Dim aVisits
Dim aVisit
Set aCarePlan = Profile.LoadCarePlanByCode ("FLU")
set aVisits = aCarePlan.Visits
if aVisits.Count = 0 then
aMessage = aMessage & vbNewLine & "There are no care visits!"
else
for i = 0 to aVisits.Count - 1
set aVisit = aVisits.Item(i)
aMessage = aMessage & vbNewLine & "AgeFlag " &_
"for the intervention template '" &_
aVisit.Description & "'" & " = " & aVisit.AgeFlag
next
end if
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Age checkbox can be checked in
.