ISPatientRecallVisit.CaseID

Description

ID of the case the patient's intervention is linked to.

Syntax

object.CaseID

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

Return Value

int

Example

Display ID of the case the patient's intervention is linked to.

sub main()
  Dim aPatient, aRecallVisits, aMessage
     
  set aPatient = Profile.SelectPatient
  set aRecallPlans = aPatient.RecallPlans  

  aMessage = aMessage & GetPlanCollectionInfo(aRecallPlans)

  Profile.MsgBox(aMessage)
end sub

function GetPlanCollectionInfo(aRecallPlans)
  for each aPlan in aRecallPlans
    info = aPlan.Description & vbNewLine
    set aVisits = aPlan.Visits
    for each aVisit in aVisits 
      info = info & " - " & aVisit.Description & " (CaseId = " &_ 
        aVisit.CaseId & ")" & vbNewLine
    next
  next  
  GetPlanCollectionInfo = info
end function  
Note:

In Profile Client v8 on User Interface Case ID cannot be found. Case can be found in Clinical > Medical Record > Care Plans > General > Case.

Version information

Added in v7.8.0