LDicomContextGroup::GetPrevCodedConcept

#include "ltdic.h"

static pDICOMCODEDCONCEPT LDicomContextGroup::GetPrevCodedConcept(pCodedConcept)

pDICOMCODEDCONCEPT pCodedConcept;

/* pointer to a Coded Concept */

Returns a pointer to the Coded Concept, in the same Context Group, that immediately precedes the specified Coded Concept.

Parameter

Description

pCodedConcept

Pointer to a DICOMCODEDCONCEPT structure that specifies a Coded Concept. The function Returns a pointer to the structure that specifies the Concept that immediately precedes this Concept (in their Context Group), if there is one.

Returns

!NULL

Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept which immediately precedes the Concept specified by pCodedConcept.

NULL

No Coded Concept precedes the one specified by pCodedConcept. (pCodedConcept is the first Coded Concept in its Context Group.)

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::GetLastCodedConcept

LDicomContextGroup::GetNextCodedConcept

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::GetLastCodedConcept, LDicomContextGroup::GetNextCodedConcept, LDicomContextGroup::GetCountCodedConcept, LDicomContextGroup::FindIndexCodedConcept, LDicomContextGroup::GetContextGroup, LDicomContextGroup::SetCodeMeaning, LDicomContextGroup::DeleteCodedConcept, LDicomContextGroup::GetPrev, 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.