L_DicomFindIndexCodedConcept

#include "ltdic.h"

L_LTDIC_API pDICOMCODEDCONCEPT L_DicomFindIndexCodedConcept(pContextGroup, uIndex)

Returns a pointer to the Coded Concept in the specified Context Group with the specified index.

Parameters

pDICOMCONTEXTGROUP pContextGroup

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group which contains the required Coded Concept.

L_UINT32 uIndex

The index of the required Coded Concept in the specified Context Group. This index is zero-based. Valid values range from 0 to the count of Coded Concepts in the Context Group minus 1. Use the L_DicomGetCountCodedConcept to obtain the count.

Returns

Value Meaning
!NULL Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept at the specified index in the specified Context Group.
NULL The specified index is invalid.

Comments

Use the L_DicomFindIndexCodedConcept function along with the L_DicomGetCountCodedConcept function as a way of enumerating the Coded Concepts in a Context Group.

To maneuver through the Coded Concepts of a Context Group, you can also use the following functions:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help