Problem with SITE_UID_ROOT length

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ybu
Posts: 7
Joined: Tue, 2005-01-18, 20:19

Problem with SITE_UID_ROOT length

#1 Post by ybu »

Hi,

I want to set my own SITE_UID_ROOT. I am using CMake so as specified in the FAQ, I added the line:

Code: Select all

ADD_DEFINITIONS(-DSITE_UID_ROOT=\\\"my.site.uid.root\\\")
The problem is the length of my uid : 26. As dcmtk can add up to 48 characters, I am way over the 64 limit. I am already at 64 before the "counter" has been added :(

Does anyone know how I can go through that? (without changing my UID of course ;) ).

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

Since you are using a different UID root anyway, you would be free to modify the UID generation algorithm to something different (shorter). Maybe you can invent something that is still unique. If you can guarantee that every instance of your software will always have a unique version number, that should be fairly trivial. If not (like with the generic DCMTK), things get much more complicated.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest