ISFlowSheetFilter.Code

Description

This filter property is used to load the collection of flow sheets by the specified code.

Syntax

object.Code

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

Return Value

string

Example

Display the number of the flow sheets loaded on the basis of the selected filter and their names.

Dim aFilter
Dim aFlowSheet
Dim aFlowSheets
Dim aMessage

Set aFilter = Profile.CreateFlowSheetFilter
aFilter.Code = "Height"
set aFlowSheets = Profile.LoadFlowSheets(aFilter)

aMessage = "Flow Sheets Count = " & aFlowSheets.Count
for i = 0 to aFlowSheets.Count - 1
  set aFlowSheet = aFlowSheets.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the flow sheet is " &_
  aFlowSheet.Name 
next      

Profile.MsgBox(aMessage)        
Note:

In Profile Client v8 on User Interface Code can be found in Clinical > Medical Record > Flow Sheets or inMaintain > Flow Sheets > Code.

Version information

Added in v8.4.32