DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-04-25, 13:33

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue, 2004-11-09, 09:25 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1196
Location: Oldenburg, Germany
:?: How can I get my own UID root and use that with DCMTK?

:!: UID roots can only be issued by ISO registered bodies and, in general, will cost a registration fee. For details, check the Medical Image Format FAQ at the following URLs:
http://www.dclunie.com/medical-image-faq/html/part2.html#UID
http://www.dclunie.com/medical-image-faq/html/part8.html#UIDRegistration
Once you have your own UID root registered, you can simply re-compile DCMTK using the macro SITE_UID_ROOT:

(for Linux/Solaris users:) after running configure, add the following compiler switch to the CXXFLAGS in file config/Makefile.def
Code:
CXXFLAGS= -DSITE_UID_ROOT="your_uid_root" (...rest of definitions...)
and re-compile the toolkit;

(for Windows and VC++ users) add the following code to the file CMakeLists.txt in the main dcmtk folder
Code:
ADD_DEFINITIONS(-DSITE_UID_ROOT=\\\"your_uid_root\\\")
re-generate the .dsw and .dsp files (using CMake) and re-compile the toolkit.

The UID generation algorithm in DCMTK may add up to 44 characters to your UID root (34 characters plus the value of an unsigned int counter), make sure that you do not break the 64 character limit on a UID.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group