L_DicomDeleteContextGroup

#include "ltdic.h"

L_LTDIC_API pDICOMCONTEXTGROUP L_DicomDeleteContextGroup(pContextGroup)

pDICOMCONTEXTGROUP pContextGroup;

/* pointer to a Context Group */

Deletes the specified Context Group from the Context Group Table.

Parameter

Description

pContextGroup

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group to be deleted.

Returns

!NULL

Pointer to a DICOMCONTEXTGROUP structure that specifies an adjacent Context Group in the Context Group Table. This Group is the one immediately following the Group being deleted or the one immediately preceding it if no Groups follow the Group being deleted.

NULL

No Context Groups are left in the Context Group Table.

Comments

To add Context Groups to the Context Group Table, use the L_DicomLoadContextGroup and L_DicomInsertContextGroup functions.

Use the L_DicomDeleteContextGroup function to delete a Context Group from the table. To delete all the Context Groups at once, use the L_DicomResetContextGroup function.

To delete a Coded Concept from a Context Group, use the L_DicomDeleteCodedConcept function.

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:

L_DicomLoadContextGroup, L_DicomInsertContextGroup, L_DicomResetContextGroup, L_DicomExistsContextGroup, L_DicomDefaultContextGroup, L_DicomDeleteCodedConcept

Topics:

Working with Context Groups

 

How to Disable the Automatic Loading of the default DICOM Context Group Table

Example

For an example, refer to L_DicomFindContextGroup.