L_DicomGetPrevContextGroup

#include "ltdic.h"

L_LTDIC_API pDICOMCONTEXTGROUP L_DicomGetPrevContextGroup(pContextGroup)

pDICOMCONTEXTGROUP pContextGroup;

/* pointer to a Context Group */

Returns a pointer to the Context Group in the Context Group Table that immediately precedes 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 structure that specifies the Group which immediately precedes this Group, if there is one.

Returns

!NULL

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group in the Context Group Table which immediately precedes the Group specified by pContextGroup.

NULL

No Context Group precedes the one specified by pContextGroup. (pContextGroup is the first Context Group in the table.)

Comments

Along with this function, the following functions can be used to maneuver through the Context Groups in the Context Group Table:

L_DicomGetFirstContextGroup

L_DicomGetLastContextGroup

L_DicomGetNextContextGroup

You can also use the L_DicomGetCountContextGroup and L_DicomFindIndexContextGroup functions to enumerate the Context Groups in the table.

To investigate the Coded Concepts of a Context Group, use the following functions:

L_DicomGetFirstCodedConcept

L_DicomGetLastCodedConcept

L_DicomGetNextCodedConcept

L_DicomGetPrevCodedConcept

L_DicomGetCountCodedConcept

L_DicomFindIndexCodedConcept

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

Functions:

L_DicomGetFirstContextGroup, L_DicomGetLastContextGroup, L_DicomGetNextContextGroup, L_DicomGetCountContextGroup, L_DicomFindIndexContextGroup, L_DicomGetPrevCodedConcept

Topics:

Working with Context Groups

Example

For an example, refer to L_DicomGetFirstContextGroup.