ISPatientRecallVisit.GetRepeatDataAsStr

Description

This function returns the frequency the intervention is to be repeated.

Syntax

object.GetRepeatDataAsStr()

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

Return Value

string

Returns the frequency the intervention is to be repeated.

Example

Display the frequency the intervention is to be repeated.

sub main()
   Dim aPatient, aRecallVisits, aMessage
     
   set aPatient = Profile.SelectPatient
   set aRecallPlans = aPatient.RecallPlans
   
   for each aPlan in aRecallPlans
     aMessage = aMessage & GetVisitCollectionInfo(aPlan.Visits)
   next

  Profile.MsgBox(aMessage)
end sub

function GetVisitCollectionInfo(aVisits)

  for each aVisit in aVisits 
    info = info & vbNewLine & "The intervention '" & aVisit.Description &_
     "' is repeated " & aVisit.GetRepeatDataAsStr
   
    next
  GetVisitCollectionInfo = info
end function   
Note:

In Profile Client v8 on User Interface Repeat Date can be found in Clinical > Medical Record > Care Plans > Open active object(s) > Repeat field.

Version information

Added in v7.8.0