The date type associated with the intervention template.
0 | rpdtNone |
1 | rpdtBirthday |
2 | rpdtLastSeen |
3 | rpdtToday |
4 | rpdtIs |
5 | rpdtAtAge |
6 | rpdtRegistrationDate |
object.DateType
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareVisit interface |
int
Display the date type associated with 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 & "The date type" &_
" for the intervention template '" &_
aVisit.Description & "'" & " is " & aVisit.DateType
next
end if
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Date Type can be found in
.