ISRecallActionFilter.ServiceCode

Description

This filter property is used to load the actions by the specified service code.

Syntax

object.ServiceCode

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

Return Value

string

Example

Display the number of the actions filtered by the specified service code.

sub main
  Dim aPatient
  Dim aFilter
  Dim aActions
  Dim aMessage
  
  Set aPatient = Profile.SelectPatient
  set aFilter = Profile.CreateRecallActionFilter

  aFilter.ServiceCode = "108"
  aFilter.PatientId = aPatient.Id
  
  set aActions = Profile.LoadRecallActions(aFilter)  
  
  aMessage = aMessage & vbNewLine & "The number of the actions " &_
    "filtered by the specified service code is " & aActions.Count
    
  Profile.MsgBox(aMessage)  
end sub   
Note:

In Profile Client v8 on User Interface the filter property cannot be found. Service Code can be found in Clinical > Care Plans > Open active action > Service field.

Version information

Added in v7.8.0