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

The default DICOM Context Group table is a large table with many entries.  When the DICOM library is initially loaded, the DICOM Context Group Table is not initially loaded. It will be automatically loaded the first time it is accessed.  Specifically, the first call to any of the following methods will cause the automatic load of the default DICOM Context Group table (if it has NOT already been loaded):

L_DicomGetFirstContextGroup

L_DicomGetLastContextGroup

L_DicomGetNextContextGroup

L_DicomGetPrevContextGroup

L_DicomGetCountContextGroup

L_DicomFindContextGroup

L_DicomFindIndexCodedConcept

L_DicomInsertContextGroup

L_DicomDeleteContextGroup

L_DicomExistsContextGroup

L_DicomGetFirstCodedConcept

L_DicomGetLastCodedConcept

L_DicomGetNextCodedConcept

L_DicomGetPrevCodedConcept

L_DicomGetCountCodedConcept

L_DicomFindCodedConcept

L_DicomInsertCodedConcept

L_DicomDeleteCodedConcept

L_DicomExistsCodedConcept

To disable the automatic load of the Default DICOM Context Group table, call any of the following methods in your initialization code (before calling any other DICOM functions):

L_DicomLoadContextGroup

L_DicomResetContextGroup

L_DicomDefaultContextGroup

Therefore, to prevent the default DICOM Context Group Table from automatically loading, call L_DicomResetContextGroup in your application initialization code.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help