Available in LEADTOOLS Medical Imaging toolkits. |
LDicomContextGroup::FindIndexCodedConcept
#include "ltdic.h"
static pDICOMCODEDCONCEPT LDicomContextGroup::FindIndexCodedConcept(pContextGroup, uIndex)
pDICOMCONTEXTGROUP pContextGroup; |
/* pointer to a Context Group */ |
L_UINT32 uIndex; |
/* index of a Coded Concept */ |
Returns a pointer to the Coded Concept at the specified index in the specified Context Group.
Parameter |
Description |
pContextGroup |
Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group that contains the specified Coded Concept. |
uIndex |
The index of the required Coded Concept in the specified Context Group. Valid values range from 0 to the count of Coded Concepts in the Context Group minus 1. This count is returned by the LDicomContextGroup::GetCountCodedConcept function. |
Returns
!NULL |
Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept for the specified index in the specified Context Group. |
NULL |
The specified index is invalid. |
Comments
The following functions can also be used to maneuver through the Coded Concepts:
LDicomContextGroup::GetFirstCodedConcept
LDicomContextGroup::GetLastCodedConcept
LDicomContextGroup::GetNextCodedConcept
LDicomContextGroup::GetPrevCodedConcept
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
Example
For an example, refer to LDicomContextGroup::GetFirstCodedConcept.