#include "Ltdic.h"
static pDICOMUID LDicomUID::Insert(pszCode, pszName, nType)
Inserts a new item in the UID Table.
Unique identifier code. For a list of default values, refer to the UID Table.
The name of the unique identifier. For a list of default values, refer to the UID Table.
Type of UID to insert. Possible values are:
Value | Meaning |
---|---|
UID_TYPE_OTHER | Unknown |
UID_TYPE_TRANSFER1 | Transfer Syntax - Uncompressed Image |
UID_TYPE_TRANSFER2 | Transfer Syntax - Compressed Image |
UID_TYPE_CLASS | SOP Class |
UID_TYPE_META_CLASS | Meta SOP Class |
UID_TYPE_INSTANCE | SOP Instance |
UID_TYPE_APPLICATION | Application Context Name |
Value | Meaning |
---|---|
!NULL | A pointer to a DICOMUID structure containing the newly inserted item. |
NULL | Not enough memory to insert the item. |
NOTE: Inserted UID items will work within LEADTOOLS, however, in order for new UID values to work across countries, sites, equipment, etc. you must contact the National Electrical Manufacturers Association.
All items are inserted at the bottom of the table.
For the default values for the UID Table, refer to the UID Table.
For more information on the DICOM file format, refer to An Overview of Dicom or the DICOM Spec.
Required DLLs and Libraries
Win32, x64
This example inserts 2 new items in the UID table.
L_INT LDicomUID_InsertExample()
{
LDicomUID::Insert(TEXT("1.2.3.4.5"), TEXT("New XXX UID"), UID_TYPE_OTHER);
LDicomUID::Insert(TEXT("6.7.8.9.0"), TEXT("New YYY UID"), UID_TYPE_OTHER);
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document