ISPatientRecallVisit.NextVisitDate

Description

The date for the next intervention.

Syntax

object.NextVisitDate

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

Return Value

DateTime

Example

Display the date for the next intervention.

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 date for the next " &_
    "intervention is " & aVisit.NextVisitDate 
   
    next
  GetVisitCollectionInfo = info
end function  
Note: Next Intervention panel appears only if the intervention has been set up with a repeat. The date for the next intervention is calculated as specified in the Periodicity field of the intervention in care plan template, if applicable, or the Repeat field of the intervention itself, if not part of a care plan. It can be overridden if required.

In Profile Client v8 on User Interface Next Intervention Date can be found in Clinical > Medical Record > Care Plans > Complete Intervention > Make Next Intervention for field.

Version information

Added in v7.8.0