The patient's age in years from which the intervention template is to be applied to.
object.AgeStartYear
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareVisit interface |
int
Display the patient's age in years from which the intervention template is to be applied to.
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 & "The patient's age in years " &_
"from which the intervention template '" & aVisit.Description &_
"'" & " is applied to is " & aVisit.AgeStartYear
next
end if
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Age Start Year can be found in
if.