LDicomContextGroup::FindCodedConcept

#include "ltdic.h"

static pDICOMCODEDCONCEPT LDicomContextGroup::FindCodedConcept(pContextGroup, pszCodingSchemeDesignator, pszCodeValue)

pDICOMCONTEXTGROUP pContextGroup;

/* pointer to a Context Group */

L_TCHAR * pszCodingSchemeDesignator;

/* Coding Scheme Designator */

L_TCHAR * pszCodeValue;

/* Code Value */

Returns a pointer to the Coded Concept, in the specified Context Group, which has the specified Coding Scheme Designator and Code Value.

Parameter

Description

pContextGroup

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group to be searched for the Coded Concept.

pszCodingSchemeDesignator

Character string that contains the Coding Scheme Designator (0008,0102) of the Coded Concept.

pszCodeValue

Character string that contains the Code Value (0008,0100) of the Coded Concept.

Returns

!NULL

Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept in the specified Context Group that has the specified Coding Scheme Designator and Code Value.

NULL

The specified Context Group doesnt contain a Coded Concept with the specified Coding Scheme Designator and Code Value.

Comments

A Coded Concept is identified in its Context Group by its Coding Scheme Designator (0008,0102) and Code Value (0008,0100). Use the FindCodedConcept function to search a Context Group for a specific Coded Concept.

To search for a specific Context Group in the Context Group Table, use the LDicomContextGroup::Find function.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LDicomContextGroup::GetFirstCodedConcept, LDicomContextGroup::GetContextGroup, LDicomContextGroup::Find, Class Members

Topics:

Working with Context Groups

 

How to Disable the Automatic Loading of the default DICOM Context Group Table

Example

For an example, refer to LDicomContextGroup::Find.