LEADTOOLS DICOM C DLL Help > Features of LEADTOOLS DICOM > DICOM Files > DICOM Tables > Working With DICOM Tables |
Starting with the release of version 17.5, the internal DICOM tables have been moved from the ltdicu.dll to a dedicated LtDicTablesu.dll. This makes the main DICOM dll Ltdicu.dll significantly smaller in size, and offers the developer several new options for accessing and tailoring the DICOM tables to the specific requirements of their application.
There are five DICOM tables that are defined and stored internally in the DICOM toolkit, as follows:
Value Representation Table
Contains a list of all supported value representation defined in the DICOM specification.
This list is well-defined, does not change, and is small.
Stored internally in Ltdicu.dll
Unique Identifier Table (UID)
Contains a list of all unique identifiers defined in the DICOM specification.
New UID©s are added ever year.
Stored internally in LtDicTablesu.dll
Can be easily and quickly updated by calling L_DicomLoadXmlUID.
Element Tag Table
Contains a list of all DICOM elements defined in the DICOM specification.
New elements are added every year.
Stored internally in both LtDicTablesu.dll and in ltdicu.dll
Can be easily and quickly updated by calling L_DicomLoadXmlTag.
Information Object Definition Table (IOD)
Contains a list of all Information Object Definitions defined in the DICOM specification.
New IOD©s are defined every year.
Stored internally in LtDicTablesu.dll
This is a very large table
Can be easily and quickly updated by calling L_DicomLoadXmlIOD.
Context Group Table
Contains a list of all Context Groups defined in the DICOM specification
New Context Groups are added every year.
Stored internally in LtDicTablesu.dll
Can be easily and quickly updated by calling L_DicomLoadXmlContextGroup.
DICOM toolkit users have several options for using and tailoring the DICOM tables to meet the needs of their application.
Developers can include ltdicu.dll and LtDicTablesu.dll in their distributables. LtDicTablesu.dll includes all UID©s, Element tags, IOD©s, and DICOM Context Groups from the 2008 DICOM specification. This is the easiest way of using the DICOM tables.
Developers can choose not to include LtDicTablesu.dll in their redistributables. In this case, developers should call the appropriate L_DicomLoadXml function to load the DICOM tables that they want to load. As part of the toolkit, four human-readable DICOM table XML files are now installed in the LEADTOOLS Sample Images directory:
dicTableUid.xml -used with L_DicomLoadXmlUID
dicTableElement.xml -used with L_DicomLoadXmlTag
dicTableIodModule.xml - used with L_DicomLoadXmlIOD
dicTableContextGroup.xml - used with L_DicomLoadXmlContextGroup
These four tables can easily be tailored to your needs. For example, to add new UID©s, elements, IOD©s, or context groups, developers can edit any one of these files with any text editor. Also, the tables can be easily combined into a single table.
Developers can easily remove items from these tables that will not be used. For example, the DICOM IOD table contains more than 60 IOD definitions and more than 300 module definitions, which comes to more than 18000 lines in the dicTableIodModule.xml file. If a particular DICOM application does not use IODs, then the application footprint can be significantly reduced by not including these IODs at all. Or if you are doing basic DICOM communication, you can include only the IODs that you need, and remove all others. For example, your application might use only the following IODs:
Patient level for the patient root query/retrieve model
Study level for the patient root query/retrieve model
Series level for the patient root query/retrieve model
Image level for the patient root query/retrieve model
Study level for the study root query/retrieve model
Series level for the study root query/retrieve model
Image level for the study root query/retrieve model
Patient level for the patient/study only query/retrieve model
Study level for the patient/study only query/retrieve model
For more information on UIDs, Dicom Elements, IODs, and Context Groups, refer to
Working with Unique Identifiers (UIDs)
Working with Information Object Definitions
An Overview of the DICOM File Format or the DICOM Standard.