ISDiseaseFilter.ConceptTermsetCode

Description

This filter property is used to load the disease codes by the specified termset code.

Syntax

object.ConceptTermsetCode

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

Return Value

string

Example

Display the number of the disease codes loaded on the basis of the selected filter, list their codes, descriptions, termset codes and concept codes.

Dim aFilter
Dim aDiseases, aDisease 
Dim i
Dim aMessage 

Set aFilter = Profile.CreateDiseaseFilter
aFilter.ConceptCode = "z..2d"   'Asthma
aFilter.ConceptTermsetCode = "IH" 
set aDiseases = Profile.LoadDiseaseCodesByFilter(aFilter)
aMessage = "Diseases Count = " & aDiseases.Count

for i = 0 to aDiseases.Count - 1
  set aDisease = aDiseases.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") Code: " & aDisease.Code &_
    "; Description: " & aDisease.Description & " (<" & aDisease.ConceptCode &_ 
    ">, '" & aDisease.TermsetCode & "')" 
next

Profile.MsgBox(aMessage)  
Note: This filter property should be used with ISDiseaseFilter.ConceptCode.

In Profile Client v8 on User Interface the termset code of the concept linked to the disease code can be found in Maintain > Disease Codes > Edit > Termset.

Version information

Added in v7.8.0