ISCareVisit.RepeatType

Description

The periodicity type for the intervention template.

0 rcrdUnknown
1 rcrdNone
2 rcrdWeekly
3 rcrdMonthly
4 rcrdYearly
5 rcrdDaily
6 rcrdRecurrence

Syntax

object.RepeatType

Part Attribute Type Description
object Required
The object always implements the ISCareVisit interface

Return Value

int

Example

Display the periodicity type 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 & "The periodicity type" &_
    " for the intervention template '" &_
    aVisit.Description & "'" & " is "  & aVisit.DateType  
  next

end if       
   
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Repeat Type can be found in Maintain > Care Plans > Open Plan > Interventions > Alter Intervention > Repeat > Periodicity field.

Version information

Added in v7.8.0