LDicomContextGroup::GetLastCodedConcept

#include "ltdic.h"

static pDICOMCODEDCONCEPT LDicomContextGroup::GetLastCodedConcept(pContextGroup)

pDICOMCONTEXTGROUP pContextGroup;

/* pointer to a Context Group */

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

Parameter

Description

pContextGroup

Pointer to a DICOMCONTEXTGROUP structure that specifies a Context Group in the Context Group Table. The function Returns a pointer to the last Coded Concept in this Group, if it contains any.

Returns

!NULL

Pointer to a DICOMCODEDCONCEPT structure that specifies the last Coded Concept in the specified Context Group.

NULL

The specified Context Group does not contain any Coded Concepts.

Comments

Along with this function, the following functions can be used to maneuver through the Coded Concepts of a Context Group in the Context Group Table:

LDicomContextGroup::GetFirstCodedConcept

LDicomContextGroup::GetNextCodedConcept

LDicomContextGroup::GetPrevCodedConcept

You can also use the LDicomContextGroup::GetCountCodedConcept and LDicomContextGroup::FindIndexCodedConcept functions to enumerate the Coded Concepts.

Use the LDicomContextGroup::GetContextGroup function to obtain the Context Group to which a Coded Concept belongs.

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

Platforms

Win32, x64

See Also

Functions:

LDicomContextGroup::Load, LDicomContextGroup::Insert, LDicomContextGroup::GetFirstCodedConcept, LDicomContextGroup::GetNextCodedConcept, LDicomContextGroup::GetPrevCodedConcept, LDicomContextGroup::GetCountCodedConcept, LDicomContextGroup::FindIndexCodedConcept, LDicomContextGroup::GetContextGroup, LDicomContextGroup::SetCodeMeaning, LDicomContextGroup::DeleteCodedConcept, LDicomContextGroup::GetLast, 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::GetFirstCodedConcept.