ISPatientRecallVisit.Priority

Description

Priority of the selected intervention.

Syntax

object.Priority

Part Attribute Type Description
object Required
The object always implements the ISPatientRecallVisit interface
Restriction: This property is readonly.

Return Value

ISShortCode

Example

Display the priority of the selected 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 intervention is '" & aVisit.Description & "'"
    if aVisit.Priority is nothing then
      info = info & vbNewLine & "Priority is unknown"
    else   
      info = info & vbNewLine & "Priority is " & aVisit.Priority.Description
    end if         
  next
  GetVisitCollectionInfo = info &  vbNewLine
end function  
Note:

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

Version information

Added in v7.8.0