ISInstructionTemplatesFilter.MeasureConceptChildSearchDepth

Description

This filter property defines the depth of the search of the linked measure concept in the concept tree.

Syntax

object.MeasureConceptChildSearchDepth

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

Return Value

int

Example

Display the number of the instruction templates loaded on the basis of the selected filter and some information about them.

Dim aFilter 
Dim aInstructionTemplates
Dim aInstructionTemplate
Dim aMessage 
Dim i
    
Set aFilter = Profile.CreateInstructionTemplatesFilter
aFilter.MeasureConceptChildSearchDepth = 2
aFilter.DiseaseConceptCode = "zZ..Y2"        
set aInstructionTemplates = Profile.LoadInstructionTemplates(aFilter)

aMessage = "Instruction Templates Count = " & aInstructionTemplates.Count
for i = 0 to aInstructionTemplates.Count - 1
  set aInstructionTemplate = aInstructionTemplates.Item(i) 
  aMessage = aMessage & vbNewLine &_
    (i + 1) & ")  " & aInstructionTemplate.Title
  if not aInstructionTemplate.Disease is nothing then
    aMessage = aMessage & vbNewLine & " - Disease: " & aInstructionTemplate.Disease.Name
  end if                                               
next         
                                                 
Profile.MsgBox(aMessage)               
Note:

In Profile Client v8 on User Interface Measure Concept Code can be found in Maintain > Templates > Instructions > Open Instruction Template > Measure field.

Version information

Added in v8.3.0