ISDisease.TermCode

Description

The code of the concept term linked to the disease code.

Syntax

object.TermCode

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

Return Value

string

Example

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

Dim aFilter
Dim aDiseases, aDisease 
Dim i
Dim aMessage 

Set aFilter = Profile.CreateDiseaseFilter
aFilter.Description = "Asthma"     
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 & " (Term Code: " &_ 
    aDisease.TermCode & ")" 
next

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Term Code can be found in Maintain > Disease Codes > Edit > Term.

Version information

Added in v7.8.0