Is this page helpful?

In this page

L_DicomFindIndexCodedConcept

Summary

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

Syntax

#include "ltdic.h"

L_LTDIC_API pDICOMCODEDCONCEPT L_DicomFindIndexCodedConcept(pContextGroup, uIndex)

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.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetFirstCodedConcept.

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.