Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

L_DicomDefaultContextGroup

Show in webframe

#include "ltdic.h"

L_LTDIC_API L_BOOL L_DicomDefaultContextGroup(pContextGroup)

pDICOMCONTEXTGROUP pContextGroup;

/* pointer to a Context Group */

Restores the values for the specified Context Group to its default values that are stored in the internal table maintained by LEADTOOLS.

Parameter

Description

pContextGroup

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group to be restored. If this parameter is set to NULL, the function restores all the Context Groups in the Context Group Table.

Returns

Value

Meaning

TRUE

The specified Context Group was restored successfully.

FALSE

The function failed to allocate memory.

Comments

LEADTOOLS maintains an internal table of the Context Groups defined by the DICOM Content Mapping Resource (DCMR). Use the L_DicomLoadContextGroup function to load Context Groups from this table into the Context Group Table. After a Context Group is loaded, its Coded Concepts can be deleted, their Code Meanings can be modified, and new Concepts can be added to the Group. Use the L_DicomDefaultContextGroup function to discard all the changes made to the Context Group.

If the internal table does not contain a Context Group with the same Context ID as that of the specified Context Group, the function will just return successfully without affecting the Context Group.

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, Linux.

See Also

Functions:

L_DicomLoadContextGroup, L_DicomResetContextGroup, L_DicomDeleteContextGroup, L_DicomDeleteCodedConcept, L_DicomSetCodedConceptCodeMeaning, L_DicomInsertCodedConcept, L_DicomLoadXmlContextGroup

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.